Commit c8ab8493 authored by Tor Didriksen's avatar Tor Didriksen

merge 5.1 => 5.5

parents 02501a0f 86c0a80b
...@@ -4218,7 +4218,7 @@ int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *my_bind, ...@@ -4218,7 +4218,7 @@ int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *my_bind,
if ((int) stmt->state < (int) MYSQL_STMT_FETCH_DONE) if ((int) stmt->state < (int) MYSQL_STMT_FETCH_DONE)
{ {
set_stmt_error(stmt, CR_NO_DATA, unknown_sqlstate, NULL); set_stmt_error(stmt, CR_NO_DATA, unknown_sqlstate, NULL);
return 1; DBUG_RETURN(1);
} }
if (column >= stmt->field_count) if (column >= stmt->field_count)
{ {
......
...@@ -15887,6 +15887,7 @@ static void test_bug27876() ...@@ -15887,6 +15887,7 @@ static void test_bug27876()
rc= mysql_query(mysql, "set names default"); rc= mysql_query(mysql, "set names default");
myquery(rc); myquery(rc);
DBUG_VOID_RETURN;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment