diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-22 13:50:50 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-22 13:50:50 +0200 |
commit | 3f4f2408683b06dafb8233f564508cd6b8564d71 (patch) | |
tree | 8c1d3e9b787e1017fce3c9e905b829557889f97a /myisam/mi_open.c | |
parent | 2d8435c339767ff27cd3577f8be6fcf176d9f575 (diff) | |
download | mariadb-git-3f4f2408683b06dafb8233f564508cd6b8564d71.tar.gz |
Fix bug when repairing compressed MyISAM files
LOCATE() is now case sensitive
BUILD/compile-alpha-cxx:
Don't build manager because it fails with linker error on Linux Alpha
Docs/manual.texi:
Changelog
myisam/mi_check.c:
Fix bug when repairing compressed MyISAM files
myisam/mi_open.c:
Fix bug when repairing compressed MyISAM files
myisam/mi_packrec.c:
Fix bug when repairing compressed MyISAM files
myisam/myisamchk.c:
Fix bug when repairing compressed MyISAM files
myisam/myisamdef.h:
Fix bug when repairing compressed MyISAM files
mysql-test/r/func_group.result:
Fix result for new RND function
mysql-test/r/func_math.result:
Fix result for new RND function
mysql-test/r/func_str.result:
test of new locate()
mysql-test/t/func_str.test:
test of new locate()
sql/item_func.cc:
LOCATE() is now case sensitive
sql/sql_string.cc:
LOCATE() is now case sensitive
sql/sql_string.h:
LOCATE() is now case sensitive
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r-- | myisam/mi_open.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 64707479d11..ff42e6fbff7 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -30,7 +30,6 @@ #include "static.c" #endif -static void setup_functions(MYISAM_SHARE *info); static void setup_key_functions(MI_KEYDEF *keyinfo); #define get_next_element(to,pos,size) { memcpy((char*) to,pos,(size_t) size); \ pos+=size;} @@ -405,7 +404,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) else if (share->options & HA_OPTION_PACK_RECORD) share->data_file_type = DYNAMIC_RECORD; my_afree((gptr) disk_cache); - setup_functions(share); + mi_setup_functions(share); #ifdef THREAD thr_lock_init(&share->lock); VOID(pthread_mutex_init(&share->intern_lock,MY_MUTEX_INIT_FAST)); @@ -580,7 +579,7 @@ ulonglong mi_safe_mul(ulonglong a, ulonglong b) /* Set up functions in structs */ -static void setup_functions(register MYISAM_SHARE *share) +void mi_setup_functions(register MYISAM_SHARE *share) { if (share->options & HA_OPTION_COMPRESS_RECORD) { |