summaryrefslogtreecommitdiffstats
path: root/create/schema/gen.pl
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-29 12:46:20 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-29 12:46:20 +0000
commitc69a2b489b05b8d467ba343f2b993edff5f9d3ec (patch)
treeeed3e78b25096768038d87f367720999e4735fff /create/schema/gen.pl
parent4d57a29266547199c9936f7d5e01f14ec4e48c97 (diff)
downloadzabbix-c69a2b489b05b8d467ba343f2b993edff5f9d3ec.tar.gz
zabbix-c69a2b489b05b8d467ba343f2b993edff5f9d3ec.tar.xz
zabbix-c69a2b489b05b8d467ba343f2b993edff5f9d3ec.zip
- [DEV-105] Database
git-svn-id: svn://svn.zabbix.com/trunk@5421 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/schema/gen.pl')
-rwxr-xr-xcreate/schema/gen.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/create/schema/gen.pl b/create/schema/gen.pl
index c2410856..9e5d609f 100755
--- a/create/schema/gen.pl
+++ b/create/schema/gen.pl
@@ -152,8 +152,8 @@ static ZBX_TABLE tables[]={
%sqlite=("t_bigint" => "bigint",
"database" => "sqlite",
- "before" => "begin transaction;\n",
- "after" => "commit;\n",
+ "before" => "BEGIN TRANSACTION;\n\n",
+ "after" => "COMMIT;\n",
"type" => "sql",
"t_id" => "bigint",
"t_integer" => "integer",