OSDN Git Service

[core] : 定数の変更
authorcaprice <caprice@users.sourceforge.jp>
Sun, 23 Jun 2013 16:17:30 +0000 (01:17 +0900)
committercaprice <caprice@users.sourceforge.jp>
Sun, 23 Jun 2013 16:17:30 +0000 (01:17 +0900)
core/src/GikoMona.cpp

index d224c41..e329baf 100644 (file)
@@ -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) >= 5000) {
+    if(db.do_query(q) >= 1000) {
         db.optimize();
     }
 }