build fix for aix and others

libmysql/libmysql.c:
  build fix: DBUG_ENTER can't be this late
This commit is contained in:
unknown 2007-08-28 15:22:14 +02:00
parent 478fb4a14d
commit a85d1b2e5e

View file

@ -4681,14 +4681,14 @@ int cli_read_binary_rows(MYSQL_STMT *stmt)
MYSQL_ROWS *cur, **prev_ptr= &result->data;
NET *net;
DBUG_ENTER("cli_read_binary_rows");
if (!mysql)
{
set_stmt_error(stmt, CR_SERVER_LOST, unknown_sqlstate);
return 1;
DBUG_RETURN(1);
}
DBUG_ENTER("cli_read_binary_rows");
net = &mysql->net;
mysql= mysql->last_used_con;