diff options
author | serg@serg.mysql.com <> | 2000-11-28 18:46:07 +0100 |
---|---|---|
committer | serg@serg.mysql.com <> | 2000-11-28 18:46:07 +0100 |
commit | b01622e362762e21df3cca9e1399082ac451c05b (patch) | |
tree | 0968edd40e6ddc5d6f67600003d0fdcfc10afeb9 /sql/ha_myisam.cc | |
parent | 217e1863e632f7a4ee256fd535e930d0e2255f37 (diff) | |
parent | 0878cd5eddfbe42db3d3f9ac9ba2993450fd53d1 (diff) | |
download | mariadb-git-b01622e362762e21df3cca9e1399082ac451c05b.tar.gz |
Merge
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r-- | sql/ha_myisam.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc index 229c24df107..21cfab6b701 100644 --- a/sql/ha_myisam.cc +++ b/sql/ha_myisam.cc @@ -1094,7 +1094,17 @@ int ha_myisam::ft_read(byte * buf) 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() 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; +} + |