summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <monty@tik.mysql.com>2000-10-26 19:54:03 +0300
committerunknown <monty@tik.mysql.com>2000-10-26 19:54:03 +0300
commit3ae05104d091659ab27cba9a67651756e62ac124 (patch)
treef6c3faec12c4532f55979cba5e5e9b26f1bdb655 /sql/handler.h
parentc0d6644b9653b2634e66d7cedf0f97340d51410a (diff)
downloadmariadb-git-3ae05104d091659ab27cba9a67651756e62ac124.tar.gz
Fixed bug with ORDER BY on BDB tables.
New benchmarks tests sql-bench/test-insert.sh: Added a lot of new ORDER BY tests sql/filesort.cc: Fix for big BDB tables sql/ha_berkeley.cc: A sql/ha_berkeley.h: A sql/handler.h: A sql/sql_class.h: Portability fix BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h
index b7872ead98a..93ce7fef03d 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -203,6 +203,7 @@ public:
virtual bool fast_key_read() { return 0;}
virtual bool has_transactions(){ return 0;}
virtual uint extra_rec_buf_length() { return 0; }
+ virtual ha_rows estimate_number_of_rows() { return records+EXTRA_RECORDS; }
virtual int index_init(uint idx) { active_index=idx; return 0;}
virtual int index_end() {return 0; }