summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-10-22 01:19:05 +0300
committerunknown <monty@donna.mysql.com>2000-10-22 01:19:05 +0300
commitda12c768d31b33cc9ab69f5efc1e7f754c1dfade (patch)
tree50bd20246c62aa9e57f6afc0a26f08cb1f3d0396 /sql/handler.h
parent94c93b9ec7f68ba50219818caec23e61f85b800d (diff)
downloadmariadb-git-da12c768d31b33cc9ab69f5efc1e7f754c1dfade.tar.gz
Give an error if you use a BLOB(X) where X > 255
Fixes for MIT pthreads Docs/manual.texi: Update for MIT pthreads and sockets configure.in: Fixed MIT pthreads to use sockets myisam/mi_check.c: Portability fix myisam/sort.c: Portability fix sql/handler.h: Give an error if you use a BLOB(X) where X > 255 sql/mysqld.cc: Fixed MIT pthreads to use sockets sql/sql_table.cc: Give an error if you use a BLOB(X) where X > 255 sql/table.cc: Fixed problem with BDB tables without keys
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 64d08204948..b7872ead98a 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -273,6 +273,7 @@ public:
virtual uint max_keys() const =0;
virtual uint max_key_parts() const =0;
virtual uint max_key_length()const =0;
+ virtual uint max_key_part_length() { return 255; }
virtual uint min_record_length(uint options) const { return 1; }
virtual bool low_byte_first() const { return 1; }
virtual bool is_crashed() const { return 0; }