summaryrefslogtreecommitdiff
path: root/sql/examples/ha_archive.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/examples/ha_archive.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/examples/ha_archive.h')
-rw-r--r--sql/examples/ha_archive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_archive.h b/sql/examples/ha_archive.h
index 6ceb660e951..3c5dccfdb6f 100644
--- a/sql/examples/ha_archive.h
+++ b/sql/examples/ha_archive.h
@@ -116,7 +116,7 @@ public:
int read_data_header(gzFile file_to_read);
int write_data_header(gzFile file_to_write);
void position(const byte *record);
- void info(uint);
+ int info(uint);
int extra(enum ha_extra_function operation);
int reset(void);
int external_lock(THD *thd, int lock_type);