mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
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
This commit is contained in:
parent
5975e23649
commit
d576cd65d0
14 changed files with 125 additions and 55 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue