You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fix for repreparing statement: Don't send COM_STMT_RESET if we will send
COM_STMT_CLOSE afterwards
This commit is contained in:
@@ -217,7 +217,8 @@ restart:
|
||||
len-=2;
|
||||
|
||||
if (last_errno== 65535 &&
|
||||
(mysql->server_capabilities & CLIENT_PROGRESS))
|
||||
((mariadb_connection(mysql) && (mysql->server_capabilities & CLIENT_PROGRESS)) ||
|
||||
(!(mysql->server_capabilities & CLIENT_MYSQL) && mysql->server_capabilities & MARIADB_CLIENT_PROGRESS)))
|
||||
{
|
||||
if (cli_report_progress(mysql, (uchar *)pos, (uint) (len-1)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user