summaryrefslogtreecommitdiff
path: root/sql/ha_heap.h
diff options
context:
space:
mode:
authorstewart@willster.(none) <>2006-08-10 22:55:20 +0800
committerstewart@willster.(none) <>2006-08-10 22:55:20 +0800
commit9d2e6b8d23eb5e18a75a2fcb42a63abc97461c38 (patch)
treeeca32a4dab10c05bdc27fdb082459d63c173bbe4 /sql/ha_heap.h
parent50ae5b7989e6148bee11a718c72ebfdade2ccdc8 (diff)
downloadmariadb-git-9d2e6b8d23eb5e18a75a2fcb42a63abc97461c38.tar.gz
BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables
allow handler::info to return an error code (that will be returned to the user)
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r--sql/ha_heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h
index 0a087fde1b0..3598a270efd 100644
--- a/sql/ha_heap.h
+++ b/sql/ha_heap.h
@@ -80,7 +80,7 @@ public:
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);
int delete_all_rows(void);