diff options
author | unknown <monty@mysql.com> | 2005-04-06 19:43:35 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-04-06 19:43:35 +0300 |
commit | 7503894ab5ad6017e6a050ed942c9a60dddddcba (patch) | |
tree | 22e52dde149dd54691424a98e931b6247fbca16b /sql/records.cc | |
parent | d958b6361b0423a1730d863f8d8365430b12b0b2 (diff) | |
download | mariadb-git-7503894ab5ad6017e6a050ed942c9a60dddddcba.tar.gz |
Fixed errors found during review
mysql-test/r/drop.result:
Made error message smaller to not get into trouble with clients with smaller error buffers
The proper way to fix this is to generate a separate warning for each not found table if there was more than one table in the DROP
but
mysql-test/r/kill.result:
Portablity fix
mysql-test/t/kill.test:
Portablity fix
mysys/my_sync.c:
Fixed possible compiler warning
sql/records.cc:
Fixed possible compiler warning
sql/share/errmsg.txt:
Made error message smaller to not get into trouble with clients with smaller error buffers
sql/sql_class.cc:
Don't put code in comments
sql/sql_show.cc:
Cleanup
Diffstat (limited to 'sql/records.cc')
-rw-r--r-- | sql/records.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/records.cc b/sql/records.cc index cfb7cb3d065..b71bcf70865 100644 --- a/sql/records.cc +++ b/sql/records.cc @@ -131,7 +131,7 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table, /* Condition pushdown to storage engine */ if (thd->variables.engine_condition_pushdown && select && select->cond && - select->cond->used_tables() & table->map && + (select->cond->used_tables() & table->map) && !table->file->pushed_cond) table->file->cond_push(select->cond); |