diff options
author | unknown <paul@ice.snake.net> | 2004-09-06 09:23:51 -0500 |
---|---|---|
committer | unknown <paul@ice.snake.net> | 2004-09-06 09:23:51 -0500 |
commit | 4011f819e21f3bc586cb5d9a8b3ad8e2781fa298 (patch) | |
tree | 7a4e7af49af5408e3ab4ff368827ac5924c2fb7f /sql-common | |
parent | 3eacb6561edf0248ac39a34445a24675aed9c849 (diff) | |
download | mariadb-git-4011f819e21f3bc586cb5d9a8b3ad8e2781fa298.tar.gz |
client.c:
sqlstat uninitialized in mysql_init().
sql-common/client.c:
sqlstat uninitialized in mysql_init().
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 04d4bc06102..d4352af9802 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -1401,6 +1401,7 @@ mysql_init(MYSQL *mysql) bzero((char*) (mysql),sizeof(*(mysql))); mysql->options.connect_timeout= CONNECT_TIMEOUT; mysql->last_used_con= mysql->next_slave= mysql->master = mysql; + strmov(mysql->net.sqlstate, not_error_sqlstate); /* By default, we are a replication pivot. The caller must reset it after we return if this is not the case. |