summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.h
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-02-04 11:59:02 -0800
committerunknown <jimw@mysql.com>2005-02-04 11:59:02 -0800
commit1be345edc0cc351029dc207d836ced1742bdfd8d (patch)
tree51df5e0d0334e67749bc68845ba7a952061390a5 /sql/ha_myisam.h
parent74ad9e8f1efde5295b9bf0b4bc4a3331d0faab4f (diff)
parent2f91118458995b9fe780aa7a5a664765572cdc30 (diff)
downloadmariadb-git-1be345edc0cc351029dc207d836ced1742bdfd8d.tar.gz
Merge changes
client/mysqlcheck.c: Auto merged myisam/ft_boolean_search.c: Auto merged myisam/ft_static.c: Auto merged mysql-test/r/func_group.result: Auto merged mysql-test/r/union.result: Auto merged mysql-test/t/func_group.test: Auto merged mysql-test/t/multi_update.test: Auto merged mysql-test/t/union.test: Auto merged scripts/make_binary_distribution.sh: Auto merged sql/ha_myisam.h: Auto merged sql/handler.h: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_func.cc: Auto merged sql/sql_union.cc: Auto merged sql/field.cc: Clean up merge
Diffstat (limited to 'sql/ha_myisam.h')
-rw-r--r--sql/ha_myisam.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/ha_myisam.h b/sql/ha_myisam.h
index d2fe36c8357..7e14a3b7941 100644
--- a/sql/ha_myisam.h
+++ b/sql/ha_myisam.h
@@ -88,8 +88,12 @@ class ha_myisam: public handler
ft_handler->please->reinit_search(ft_handler);
return 0;
}
- FT_INFO *ft_init_ext(uint flags, uint inx,const byte *key, uint keylen)
- { return ft_init_search(flags,file,inx,(byte*) key,keylen, table->record[0]); }
+ FT_INFO *ft_init_ext(uint flags, uint inx,String *key)
+ {
+ return ft_init_search(flags,file,inx,
+ (byte *)key->ptr(), key->length(), key->charset(),
+ table->record[0]);
+ }
int ft_read(byte *buf);
int rnd_init(bool scan);
int rnd_next(byte *buf);