mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
checking columns of top items
mysql-test/r/row_test.result: changed error message (report requestet columns number) new tests mysql-test/t/row_test.test: new tests sql/item.h: checking columns of wrapper items
This commit is contained in:
@ -106,7 +106,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
|
||||
}
|
||||
tables->table=table;
|
||||
|
||||
if (cond && cond->fix_fields(thd, tables, &cond))
|
||||
if (cond && (cond->check_cols(1) || cond->fix_fields(thd, tables, &cond)))
|
||||
return -1;
|
||||
|
||||
if (keyname)
|
||||
|
Reference in New Issue
Block a user