summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-12-21 13:28:51 +0000
committerunknown <serg@serg.mysql.com>2001-12-21 13:28:51 +0000
commitad24c890aca8a505f384225507b0561c60b2401b (patch)
tree19da197d0ad22cdfac95cf8ec8fa782f87653220 /sql/sql_table.cc
parente506cef831eef9dfad4513337f85a2d85fef2906 (diff)
downloadmariadb-git-ad24c890aca8a505f384225507b0561c60b2401b.tar.gz
HANDLER works only with MyISAM tables
HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/ha_berkeley.h: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/ha_heap.h: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/ha_innobase.h: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/ha_isam.h: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/ha_isammrg.h: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/ha_myisammrg.h: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT sql/sql_handler.cc: HANDLER works only with MyISAM tables sql/sql_table.cc: HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index d4324a4e5ac..d3c11ab8716 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -430,7 +430,7 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
if (key->type == Key::FULLTEXT)
{
- if (file->option_flag() & HA_NO_FULLTEXT_KEY)
+ if (!(file->option_flag() & HA_CAN_FULLTEXT))
{
my_error(ER_TABLE_CANT_HANDLE_FULLTEXT, MYF(0));
DBUG_RETURN(-1);