summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxdb
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-27 09:01:33 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-27 09:01:33 +0000
commit89f4539700fd1fdccd076a2a7529845e9168feec (patch)
tree410b0d5c0c261b9fd0d27e6cad73242a40a1d581 /src/libs/zbxdb
parent30840f8e68b889140cf951f73032e36e8844c465 (diff)
downloadzabbix-89f4539700fd1fdccd076a2a7529845e9168feec.tar.gz
zabbix-89f4539700fd1fdccd076a2a7529845e9168feec.tar.xz
zabbix-89f4539700fd1fdccd076a2a7529845e9168feec.zip
- [DEV-120] C library for SQLite3 updates
git-svn-id: svn://svn.zabbix.com/trunk@5408 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdb')
-rw-r--r--src/libs/zbxdb/db.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/zbxdb/db.c b/src/libs/zbxdb/db.c
index 7e6f9422..5909f329 100644
--- a/src/libs/zbxdb/db.c
+++ b/src/libs/zbxdb/db.c
@@ -202,6 +202,9 @@ int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *d
sqlite_transaction_started = 0;
+ DBexecute("PRAGMA synchronous=OFF");
+ DBexecute("PRAGMA temp_store=MEMORY");
+
return ret;
#endif
}