Mercurial > hg > orthanc-webviewer
comparison Plugin/Cache/CacheManager.cpp @ 117:3dc81012e76a
remove test
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Dec 2015 17:05:30 +0100 |
parents | c8ca47a67bf3 |
children | 3809121c3290 |
comparison
equal
deleted
inserted
replaced
116:1eee3fa64670 | 117:3dc81012e76a |
---|---|
302 pimpl_->db_.Execute("CREATE INDEX CacheIndex ON Cache(bundle, item);"); | 302 pimpl_->db_.Execute("CREATE INDEX CacheIndex ON Cache(bundle, item);"); |
303 } | 303 } |
304 | 304 |
305 if (!pimpl_->db_.DoesTableExist("CacheProperties")) | 305 if (!pimpl_->db_.DoesTableExist("CacheProperties")) |
306 { | 306 { |
307 printf("ICI\n"); | |
308 pimpl_->db_.Execute("CREATE TABLE CacheProperties(property INTEGER PRIMARY KEY, value TEXT);"); | 307 pimpl_->db_.Execute("CREATE TABLE CacheProperties(property INTEGER PRIMARY KEY, value TEXT);"); |
309 } | 308 } |
310 | 309 |
311 // Performance tuning of SQLite with PRAGMAs | 310 // Performance tuning of SQLite with PRAGMAs |
312 // http://www.sqlite.org/pragma.html | 311 // http://www.sqlite.org/pragma.html |