OSDN Git Service

[core] : SQL文の書き方を統一
authorcaprice <caprice@users.sourceforge.jp>
Tue, 25 Jun 2013 14:03:25 +0000 (23:03 +0900)
committercaprice <caprice@users.sourceforge.jp>
Tue, 25 Jun 2013 14:03:25 +0000 (23:03 +0900)
core/include/database.hpp

index b56eb59..958bad6 100644 (file)
@@ -113,8 +113,8 @@ private:
     db_object_type db;
     bool is_opened_db;
     
-    void begin_sql_statement() { run_sql("begin;"); }
-    void end_sql_statement() { run_sql("end"); }
+    void begin_sql_statement() { run_sql("BEGIN;"); }
+    void end_sql_statement() { run_sql("END;"); }
 };
 
 template <>