diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-07 13:58:01 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-07 13:58:01 +0000 |
commit | d9ff665135bd0ac36a8fe284b5be08284aa68152 (patch) | |
tree | 430cb6942fddea497414db432fe2baaad9784a0a /src/libs/zbxdb/db.c | |
parent | 5f07118a2acd7c31c5681973ebf09ee355b6b043 (diff) | |
download | zabbix-d9ff665135bd0ac36a8fe284b5be08284aa68152.tar.gz zabbix-d9ff665135bd0ac36a8fe284b5be08284aa68152.tar.xz zabbix-d9ff665135bd0ac36a8fe284b5be08284aa68152.zip |
- [DEV-137] Misc bugs and improvements
fixed bugs in configure scripts
git-svn-id: svn://svn.zabbix.com/trunk@5885 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdb/db.c')
-rw-r--r-- | src/libs/zbxdb/db.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libs/zbxdb/db.c b/src/libs/zbxdb/db.c index ccd5c403..f6fa81cd 100644 --- a/src/libs/zbxdb/db.c +++ b/src/libs/zbxdb/db.c @@ -102,17 +102,7 @@ int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *d } if(ZBX_DB_OK == ret) - { -#ifdef HAVE_MYSQL_AUTOCOMMIT - if(mysql_autocommit(conn, 1) != 0) - { - zabbix_log(LOG_LEVEL_ERR, "Failed to set autocommit to 1: Error: %s [%d]", - mysql_error(conn), mysql_errno(conn)); - ret = ZBX_DB_FAIL; - } -#endif /* HAVE_MYSQL_AUTOCOMMIT */ DBexecute("SET CHARACTER SET utf8"); - } if(ZBX_DB_FAIL == ret) { |