OSDN Git Service
(root)
/
gikomona
/
libcore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef8a3a
)
logging処理の追加
master
author
caprice
<caprice@users.sourceforge.jp>
Sun, 10 Aug 2014 12:54:48 +0000
(21:54 +0900)
committer
caprice
<caprice@users.sourceforge.jp>
Sun, 10 Aug 2014 12:54:48 +0000
(21:54 +0900)
src/GikoMona.cpp
patch
|
blob
|
history
diff --git
a/src/GikoMona.cpp
b/src/GikoMona.cpp
index
46ab8df
..
e9e65f8
100644
(file)
--- a/
src/GikoMona.cpp
+++ b/
src/GikoMona.cpp
@@
-96,7
+96,7
@@
void optimize_database(const boost::filesystem::path& db_path) {
mona_string sql(u8"SELECT counts-of-deleting-value FROM file-information;");
auto count = sqlite::execute_statement<int>(db, sql, ec);
- if(!count) {
/* log */
}
+ if(!count) {
WARNING("libsqlitexx '" << ec.message() << "'");
}
if(count->at<0>(0) >= 1000) {
db.optimize(ec);