]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix typo in dbcheck code
authorKern Sibbald <kern@sibbald.com>
Tue, 28 Oct 2008 22:03:33 +0000 (22:03 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 28 Oct 2008 22:03:33 +0000 (22:03 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7927 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/tools/dbcheck.c

index 07f4d8c4e4bc7152d19e0ebe007a59db02bd5fb3..a29d98b6a4cc144e3578500c00fda9af5d67d38a 100644 (file)
@@ -1343,7 +1343,7 @@ static bool check_idx(const char *col_name)
    int found = false;
 
    memset(&idx_list, 0, sizeof(idx_list));
-   connst char *query = "SHOW INDEX FROM File";
+   const char *query = "SHOW INDEX FROM File";
    if (!db_sql_query(db, query, check_idx_handler, (void *)col_name)) {
       printf("%s\n", db_strerror(db));
    }