Package: bacula / 7.4.4+dfsg-6

fix-mysql55-sql-syntax.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: fix unnecessary escaping
 Since we use this code directly by dbconfig, not from sh-script as upstream,
 there is no need to escape symbols.
Author: Scott Moser <smoser@ubuntu.com>
Reviewed-by: Alexander Golovko <alexandro@ankalagon.ru>
Last-Modified: 2012-06-03

--- a/src/cats/make_mysql_tables.in
+++ b/src/cats/make_mysql_tables.in
@@ -377,8 +377,8 @@
 
 CREATE TABLE Counters (
    Counter TINYBLOB NOT NULL,
-   \`MinValue\` INTEGER DEFAULT 0,
-   \`MaxValue\` INTEGER DEFAULT 0,
+   `MinValue` INTEGER DEFAULT 0,
+   `MaxValue` INTEGER DEFAULT 0,
    CurrentValue INTEGER DEFAULT 0,
    WrapCounter TINYBLOB NOT NULL,
    PRIMARY KEY (Counter(128))