summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <serg@donna.mysql.com>2001-01-19 20:25:27 +0200
committerunknown <serg@donna.mysql.com>2001-01-19 20:25:27 +0200
commit2f499141f99069e3cc7cb4d5adcc0ad8015c778c (patch)
tree7dc1d88151c519c2693287939b937f05a7197bb0 /sql/ha_myisam.cc
parent5e5cd0f87e3940367faf54d2bdd9ddffe8bdecde (diff)
downloadmariadb-git-2f499141f99069e3cc7cb4d5adcc0ad8015c778c.tar.gz
ha_myisam.cc magic removed
ha_myisam.h magic removed sql/ha_myisam.h: magic removed sql/ha_myisam.cc: magic removed BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc14
1 files changed, 2 insertions, 12 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index ac88c802949..60e0c4eec94 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -1136,19 +1136,9 @@ int ha_myisam::ft_read(byte * buf)
thread_safe_increment(ha_read_next_count,&LOCK_status); // why ?
- if ((error=ft_read_next((FT_DOCLIST *) ft_handler,(char*) buf)))
- ft_handler=NULL; // Magic here ! See Item_func_match::val()
- // and ha_myisam::index_init()
+ error=ft_read_next((FT_DOCLIST *) ft_handler,(char*) buf);
+
table->status=error ? STATUS_NOT_FOUND: 0;
return error;
}
-int ha_myisam::index_init(uint idx)
-{
- if (idx != active_index)
- ft_handler=NULL; // Magic here !
-
- active_index=idx;
- return 0;
-}
-