mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 20:25:32 +02:00
Merge pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint-without-cygwin
into pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint client/mysqltest.c: Auto merged
This commit is contained in:
commit
64278d4fc9
1 changed files with 2 additions and 1 deletions
|
|
@ -5337,8 +5337,9 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
|
|||
/*
|
||||
If we got here the statement succeeded and was expected to do so,
|
||||
get data. Note that this can still give errors found during execution!
|
||||
Store the result of the query if if will return any fields
|
||||
*/
|
||||
if (mysql_stmt_store_result(stmt))
|
||||
if (mysql_stmt_field_count(stmt) && mysql_stmt_store_result(stmt))
|
||||
{
|
||||
handle_error(command, mysql_stmt_errno(stmt),
|
||||
mysql_stmt_error(stmt), mysql_stmt_sqlstate(stmt), ds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue