summaryrefslogtreecommitdiffstats
path: root/create
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-29 12:43:10 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-29 12:43:10 +0000
commit4d57a29266547199c9936f7d5e01f14ec4e48c97 (patch)
tree0a664463cc33b882967db5313e33a4b9466d04ce /create
parentb671b3eec264380ebd9af00f95591ab79a72870c (diff)
downloadzabbix-4d57a29266547199c9936f7d5e01f14ec4e48c97.tar.gz
zabbix-4d57a29266547199c9936f7d5e01f14ec4e48c97.tar.xz
zabbix-4d57a29266547199c9936f7d5e01f14ec4e48c97.zip
- [DEV-105] Database
git-svn-id: svn://svn.zabbix.com/trunk@5420 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create')
-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 f56081d3..c2410856 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" => "",
- "after" => "",
+ "before" => "begin transaction;\n",
+ "after" => "commit;\n",
"type" => "sql",
"t_id" => "bigint",
"t_integer" => "integer",