OSDN Git Service
(root)
/
gikomona
/
GikoMona.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67580e5
)
[core] : 定数の変更
author
caprice
<caprice@users.sourceforge.jp>
Sun, 23 Jun 2013 16:17:30 +0000
(
01:17
+0900)
committer
caprice
<caprice@users.sourceforge.jp>
Sun, 23 Jun 2013 16:17:30 +0000
(
01:17
+0900)
core/src/GikoMona.cpp
patch
|
blob
|
history
diff --git
a/core/src/GikoMona.cpp
b/core/src/GikoMona.cpp
index
d224c41
..
e329baf
100644
(file)
--- a/
core/src/GikoMona.cpp
+++ b/
core/src/GikoMona.cpp
@@
-38,7
+38,7
@@
void optimize_database(const boost::filesystem::path& db_path) {
database db("./history.db");
auto q = query<int>().define()
.select("count-of-deleting-values", "file-infomation");
- if(db.do_query(q) >=
5
000) {
+ if(db.do_query(q) >=
1
000) {
db.optimize();
}
}