1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

fixed test of cardinality

mysql-test/r/subselect.result:
  test of cardinality error
mysql-test/t/subselect.test:
  test of cardinality error
This commit is contained in:
unknown
2003-01-21 13:55:26 +02:00
parent 3ffd7865b0
commit 8a3d3a539f
15 changed files with 40 additions and 40 deletions

View File

@ -106,7 +106,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
}
tables->table=table;
if (cond && (cond->check_cols(1) || cond->fix_fields(thd, tables, &cond)))
if (cond && (cond->fix_fields(thd, tables, &cond) || cond->check_cols(1)))
return -1;
/* InnoDB needs to know that this table handle is used in the HANDLER */