null+****@clear*****
null+****@clear*****
2011年 6月 9日 (木) 18:57:26 JST
Kouhei Sutou 2011-06-09 09:57:26 +0000 (Thu, 09 Jun 2011)
New Revision: f99bff52c88ee3e5e7963f985e2b6f61b05ad080
Log:
grn_ -> mrn_.
Modified files:
ha_mroonga.cc
Modified: ha_mroonga.cc (+5 -6)
===================================================================
--- ha_mroonga.cc 2011-06-09 09:56:01 +0000 (7381a52)
+++ ha_mroonga.cc 2011-06-09 09:57:26 +0000 (e64875d)
@@ -100,11 +100,10 @@ _ft_vft mrn_ft_vft = {
handlerton *mrn_hton_ptr;
HASH mrn_open_tables;
pthread_mutex_t mrn_open_tables_mutex;
-uchar *grn_open_tables_get_key(
- MRN_SHARE *share,
- size_t *length,
- my_bool not_used __attribute__ ((unused))
-) {
+static uchar *mrn_open_tables_get_key(MRN_SHARE *share,
+ size_t *length,
+ my_bool not_used __attribute__ ((unused)))
+{
MRN_DBUG_ENTER_FUNCTION();
*length = share->table_name_length;
DBUG_RETURN((uchar*) share->table_name);
@@ -427,7 +426,7 @@ int mrn_init(void *p)
goto err_allocated_open_tables_mutex_init;
}
if (my_hash_init(&mrn_open_tables, system_charset_info, 32, 0, 0,
- (my_hash_get_key) grn_open_tables_get_key, 0, 0)) {
+ (my_hash_get_key) mrn_open_tables_get_key, 0, 0)) {
goto error_allocated_open_tables_hash_init;
}