diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-29 14:16:57 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-29 14:16:57 +0000 |
| commit | 3a3842ee8b895e6bb12212dbd26d407b90295827 (patch) | |
| tree | d39957a683cdf42fe5f276d6fbe55ae4d0cfeb52 /src/libs/zbxdb | |
| parent | 25fe20d517ee1553fd569fba2f6c33ee5a9a446a (diff) | |
| download | zabbix-3a3842ee8b895e6bb12212dbd26d407b90295827.tar.gz zabbix-3a3842ee8b895e6bb12212dbd26d407b90295827.tar.xz zabbix-3a3842ee8b895e6bb12212dbd26d407b90295827.zip | |
- [DEV-86] DM: Synchronizing all history data with master node (Sasha)
git-svn-id: svn://svn.zabbix.com/trunk@5117 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdb')
| -rw-r--r-- | src/libs/zbxdb/db.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/zbxdb/db.c b/src/libs/zbxdb/db.c index 9bf36dd8..12c9db3b 100644 --- a/src/libs/zbxdb/db.c +++ b/src/libs/zbxdb/db.c @@ -107,6 +107,7 @@ int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *d ret = ZBX_DB_FAIL; } #endif /* HAVE_MYSQL_AUTOCOMMIT */ + DBexecute("SET CHARACTER SET utf8"); } if(ZBX_DB_FAIL == ret) |
