diff options
author | Kunda <luzpaz@users.noreply.github.com> | 2017-03-05 18:16:30 (GMT) |
---|---|---|
committer | Kunda <luzpaz@users.noreply.github.com> | 2017-03-05 18:16:30 (GMT) |
commit | 5711b54b4813a2f4ce3b858e496ac846cbda69e5 (patch) | |
tree | f9976bc0ce114c2c29d481babffefe3985b0f0e5 /src/sqlite3gen.cpp | |
parent | 82ed99b4050963ab1c7134dede952400ff75dffc (diff) | |
download | Doxygen-5711b54b4813a2f4ce3b858e496ac846cbda69e5.zip Doxygen-5711b54b4813a2f4ce3b858e496ac846cbda69e5.tar.gz Doxygen-5711b54b4813a2f4ce3b858e496ac846cbda69e5.tar.bz2 |
typos
some doxy typos and some misc. source typos
typos
some doxy typos and some misc. source typos
Diffstat (limited to 'src/sqlite3gen.cpp')
-rw-r--r-- | src/sqlite3gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlite3gen.cpp b/src/sqlite3gen.cpp index 6bc8789..8996014 100644 --- a/src/sqlite3gen.cpp +++ b/src/sqlite3gen.cpp @@ -491,8 +491,8 @@ static int step(sqlite3 *db, SqlStmt &s,bool getRowId=FALSE, bool select=FALSE) sqlite3_clear_bindings(s.stmt); return -1; } - if (getRowId && select) rowid = sqlite3_column_int(s.stmt, 0); // works on selects, doesnt on inserts - if (getRowId && !select) rowid = sqlite3_last_insert_rowid(db); //works on inserts, doesnt on selects + if (getRowId && select) rowid = sqlite3_column_int(s.stmt, 0); // works on selects, doesn't on inserts + if (getRowId && !select) rowid = sqlite3_last_insert_rowid(db); //works on inserts, doesn't on selects sqlite3_reset(s.stmt); sqlite3_clear_bindings(s.stmt); // XXX When should this really be called return rowid; |