1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

checking columns of top items

This commit is contained in:
bell@sanja.is.com.ua
2002-11-29 12:30:04 +02:00
parent fa3d6193ac
commit 39ddd2dcb4
11 changed files with 47 additions and 16 deletions

View File

@ -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)