Mercurial > hg > orthanc
comparison OrthancServer/SQLiteDatabaseWrapper.cpp @ 3080:1a75595d8e44 db-changes
started refactoring of ServerIndex::Store()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Jan 2019 18:21:22 +0100 |
parents | 65e2bfa953ef |
children |
comparison
equal
deleted
inserted
replaced
3079:65e2bfa953ef | 3080:1a75595d8e44 |
---|---|
1246 SQLite::Statement s(db_, SQLITE_FROM_HERE, "DROP TABLE IF EXISTS Lookup"); | 1246 SQLite::Statement s(db_, SQLITE_FROM_HERE, "DROP TABLE IF EXISTS Lookup"); |
1247 s.Run(); | 1247 s.Run(); |
1248 } | 1248 } |
1249 | 1249 |
1250 { | 1250 { |
1251 printf("[%s]\n", sql.c_str()); | |
1252 | |
1253 SQLite::Statement statement(db_, sql); | 1251 SQLite::Statement statement(db_, sql); |
1254 formatter.Bind(statement); | 1252 formatter.Bind(statement); |
1255 statement.Run(); | 1253 statement.Run(); |
1256 } | 1254 } |
1257 | 1255 |