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

Fix for CONC-301:

This fix got lost by a bad previous merge
This commit is contained in:
Georg Richter
2019-03-08 18:38:14 +01:00
parent f24915057c
commit 4ab51e7adf

View File

@@ -1412,15 +1412,12 @@ int STDCALL mysql_stmt_fetch(MYSQL_STMT *stmt)
return(rc);
}
if ((rc= stmt->mysql->methods->db_stmt_fetch_to_bind(stmt, row)))
{
return(rc);
}
rc= stmt->mysql->methods->db_stmt_fetch_to_bind(stmt, row);
stmt->state= MYSQL_STMT_USER_FETCHING;
CLEAR_CLIENT_ERROR(stmt->mysql);
CLEAR_CLIENT_STMT_ERROR(stmt);
return(0);
return(rc);
}
int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind, unsigned int column, unsigned long offset)