Commit 1556ea9a authored by unknown's avatar unknown

small change


sql/sql_class.cc:
  reverting some changes and fixig C style of Sanja ... ;o)
parent f22010c8
......@@ -881,8 +881,8 @@ bool select_singleval_subselect::send_data(List<Item> &items)
{
DBUG_ENTER("select_singleval_subselect::send_data");
Item_singleval_subselect *it= (Item_singleval_subselect *)item;
if (it->assigned()){
if (!current_thd->lex.describe)
if (it->assigned())
{
my_message(ER_SUBSELECT_NO_1_ROW, ER(ER_SUBSELECT_NO_1_ROW), MYF(0));
DBUG_RETURN(1);
}
......
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