Commit 1be4a37f authored by konstantin@mysql.com's avatar konstantin@mysql.com

Merge bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/home/kostja/mysql/mysql-4.1-root
parents 02f382ec c10413ab
...@@ -580,8 +580,7 @@ int Item_param::save_in_field(Field *field, bool no_conversions) ...@@ -580,8 +580,7 @@ int Item_param::save_in_field(Field *field, bool no_conversions)
{ {
THD *thd= current_thd; THD *thd= current_thd;
if (thd->command == COM_PREPARE) DBUG_ASSERT(thd->command == COM_EXECUTE);
return -1;
if (null_value) if (null_value)
return (int) set_field_to_null(field); return (int) set_field_to_null(field);
......
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