summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <gkodinov@dl145s.mysql.com>2006-10-19 14:37:49 +0200
committerunknown <gkodinov@dl145s.mysql.com>2006-10-19 14:37:49 +0200
commitd30186772fc90d9c16c118f0a72fff3f0be50e03 (patch)
treec3a1127047a1868f79176592df1bdfc289fd4abf /include
parentea39ca343572927c2f932ae1d22ba5d6f6731db9 (diff)
parent672b61c5757f2f9a78a0764d2809de52b724c691 (diff)
downloadmariadb-git-d30186772fc90d9c16c118f0a72fff3f0be50e03.tar.gz
Merge dl145s.mysql.com:/data/bk/team_tree_merge/mysql-5.0
into dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.0-opt mysql-test/r/merge.result: Auto merged mysql-test/r/myisam.result: Auto merged mysql-test/r/select.result: Auto merged mysql-test/r/view.result: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/opt_range.h: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_update.cc: Auto merged sql/table.cc: Auto merged
Diffstat (limited to 'include')
-rw-r--r--include/my_base.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h
index cffe1c3caf4..dda64db2ef9 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -224,12 +224,17 @@ enum ha_base_keytype {
/* poor old NISAM has 8-bit flags :-( */
#define HA_SORT_ALLOWS_SAME 128 /* Intern bit when sorting records */
#endif
+#if MYSQL_VERSION_ID < 0x50200
/*
Key has a part that can have end space. If this is an unique key
we have to handle it differently from other unique keys as we can find
many matching rows for one key (because end space are not compared)
*/
-#define HA_END_SPACE_KEY 4096
+#define HA_END_SPACE_KEY 0 /* was: 4096 */
+#else
+#error HA_END_SPACE_KEY is obsolete, please remove it
+#endif
+
/* These flags can be added to key-seg-flag */