summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Negreanu <adrian.m.negreanu@intel.com>2013-06-19 11:41:00 (GMT)
committerAdrian Negreanu <groleo@gmail.com>2013-08-02 19:47:21 (GMT)
commit83f09253de3720ae1ddbd793fe75698c220490f7 (patch)
tree8eb9e40ad7444a5b48718e233c0cabe49f56cd9e
parente2f6973ca0c8d5ab1f5bd28a3cd89b58fff13d71 (diff)
downloadDoxygen-83f09253de3720ae1ddbd793fe75698c220490f7.zip
Doxygen-83f09253de3720ae1ddbd793fe75698c220490f7.tar.gz
Doxygen-83f09253de3720ae1ddbd793fe75698c220490f7.tar.bz2
sqlite3: capitalize FROM keyword
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
-rw-r--r--src/sqlite3gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlite3gen.cpp b/src/sqlite3gen.cpp
index d748a12..4935359 100644
--- a/src/sqlite3gen.cpp
+++ b/src/sqlite3gen.cpp
@@ -60,7 +60,7 @@ const char *i_q_files="INSERT OR REPLACE INTO files "
"( name )"
"VALUES "
"(:name )";
-const char *id_q_files="SELECT id from files where name=:name";
+const char *id_q_files="SELECT id FROM files WHERE name=:name";
static sqlite3_stmt *id_s_files=0;
static sqlite3_stmt *i_s_files=0;
//////////////////////////////////////////////////////
@@ -74,7 +74,7 @@ const char *i_q_memberdef="INSERT OR REPLACE INTO memberdef "
"( refid, prot, static, const, explicit, inline, final, sealed, new, optional, required, virt, mutable, initonly, readable, writable, gettable, settable, accessor, addable, removable, raisable, name, type, definition, argsstring, scope, kind, id_bfile, bline, bcolumn, id_file, line, column)"
"VALUES "
"(:refid,:prot,:static,:const,:explicit,:inline,:final,:sealed,:new,:optional,:required,:virt,:mutable,:initonly,:readable,:writable,:gettable,:settable,:accessor,:addable,:removable,:raisable,:name,:type,:definition,:argsstring,:scope,:kind,:id_bfile,:bline,:bcolumn,:id_file,:line,:column)";
-const char *id_q_memberdef="SELECT id from memberdef where refid=:refid and id is not null";
+const char *id_q_memberdef="SELECT id FROM memberdef WHERE refid=:refid and id is not null";
static sqlite3_stmt *id_s_memberdef=0;
static sqlite3_stmt *i_s_memberdef=0;
//////////////////////////////////////////////////////