1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Set stmt_id to -1 only for mariadb_stmt_execute_direct

This commit is contained in:
Georg Richter
2016-11-04 16:02:08 +01:00
parent 884ee2262d
commit 4d1af73242
2 changed files with 3 additions and 2 deletions

View File

@@ -1115,7 +1115,7 @@ mysql_real_connect(MYSQL *mysql, const char *host, const char *user,
const char *passwd, const char *db,
uint port, const char *unix_socket,unsigned long client_flag)
{
char *end;
char *end= NULL;
char *connection_handler= (mysql->options.extension) ?
mysql->options.extension->connection_handler : 0;