summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-11-29 15:34:37 +0200
committerunknown <monty@hundin.mysql.fi>2001-11-29 15:34:37 +0200
commitace649189d566532a46ff110db15ccde117ce4af (patch)
tree5278a62187996e3ff76046ee3a27680bcadfc05f /sql/ha_berkeley.h
parent00d80ffff1da7a19489a1aaab9ba29ded55b84ad (diff)
downloadmariadb-git-ace649189d566532a46ff110db15ccde117ce4af.tar.gz
Better optimization for InnoDB and BDB tables for ORDER BY
Build-tools/Do-compile: Merge with 4.0 Docs/manual.texi: Changelog mysql-test/r/innodb.result: New tests cases for ORDER BY mysql-test/r/myisam.result: New tests cases for ORDER BY mysql-test/t/innodb.test: New tests cases for ORDER BY mysql-test/t/myisam.test: New tests cases for ORDER BY
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r--sql/ha_berkeley.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h
index 561e06229fa..ab1ead5a3e9 100644
--- a/sql/ha_berkeley.h
+++ b/sql/ha_berkeley.h
@@ -107,6 +107,7 @@ class ha_berkeley: public handler
uint extra_rec_buf_length() { return BDB_HIDDEN_PRIMARY_KEY_LENGTH; }
ha_rows estimate_number_of_rows();
bool fast_key_read() { return 1;}
+ key_map keys_to_use_for_scanning() { return ~(key_map) 0; }
bool has_transactions() { return 1;}
int open(const char *name, int mode, uint test_if_locked);