diff options
author | unknown <stewart@willster.(none)> | 2006-09-28 23:41:37 +1000 |
---|---|---|
committer | unknown <stewart@willster.(none)> | 2006-09-28 23:41:37 +1000 |
commit | 44a882f92540a51949485a08a0ced93d114fdfa9 (patch) | |
tree | eb9ad699c3a5035d182101ae8e8082d97593b767 /sql/ha_isam.h | |
parent | 0f72ee6766e92307806c5cfcb7d92146afeaee1e (diff) | |
download | mariadb-git-44a882f92540a51949485a08a0ced93d114fdfa9.tar.gz |
BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables
post-review fixes as indicated by Serg.
manual testing of error cases done in 5.0 due to support for DBUG_EXECUTE_IF
to insert errors.
Unable to write test case for mysql-test until 5.1 due to support for setting
debug options at runtime.
sql/ha_blackhole.cc:
update for handler::info() now returning int
sql/ha_blackhole.h:
update for handler::info() now returning int
sql/ha_isam.cc:
update for handler::info() now returning int
sql/ha_isam.h:
update for handler::info() now returning int
sql/ha_isammrg.cc:
update for handler::info() now returning int
sql/ha_isammrg.h:
update for handler::info() now returning int
sql/item_sum.cc:
update for handler::info() now returning int.
return error to user if info call fails
sql/sql_delete.cc:
update for handler::info() now returning int.
return error to user if info call fails
sql/sql_select.cc:
update for handler::info() now returning int.
return error to user if info call fails
sql/sql_union.cc:
update for handler::info() now returning int.
return error to user if info call fails
Diffstat (limited to 'sql/ha_isam.h')
-rw-r--r-- | sql/ha_isam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_isam.h b/sql/ha_isam.h index 1f9b8eb28fe..b94377c8e3d 100644 --- a/sql/ha_isam.h +++ b/sql/ha_isam.h @@ -67,7 +67,7 @@ class ha_isam: public handler int rnd_next(byte *buf); int rnd_pos(byte * buf, byte *pos); void position(const byte *record); - void info(uint); + int info(uint); int extra(enum ha_extra_function operation); int external_lock(THD *thd, int lock_type); ha_rows records_in_range(uint inx, key_range *min_key, key_range *max_key); |