Post-merge fix for Bug 35103.

sql/sql_prepare.cc:
  Don't send unexpected error to the client.
This commit is contained in:
unknown 2008-03-17 11:16:37 -03:00
parent 063b504772
commit 23d567aa7c

View File

@ -2602,7 +2602,7 @@ void mysql_stmt_get_longdata(THD *thd, char *packet, ulong packet_length)
if (!(stmt=find_prepared_statement(thd, stmt_id,
"mysql_stmt_send_long_data")))
DBUG_VOID_RETURN;
goto out;
param_number= uint2korr(packet);
packet+= 2;