mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 07:45:32 +02:00
Fixes for MyISAM and packed keys + AIX
Docs/manual.texi: Updated changelog client/mysql.cc: Free all memory, even if we can't connect to the server include/config-win.h: Ensure that we don't use SAFE_MUTEX on windows include/my_pthread.h: Optimze struct for Ia64 include/myisam.h: Hack for debugging BIG tables myisam/mi_check.c: Hack for debugging BIG tables myisam/mi_search.c: Fixed bug in packed keys myisam/myisamchk.c: Hack for debugging BIG tables mysys/thr_mutex.c: Make safe_mutex safe for windows scripts/safe_mysqld.sh: Fix nice test and echo output sql/share/Makefile.am: Fix character sets sql/sql_string.cc: Fixes for AIX (which can't handle that the length argument is 0)
This commit is contained in:
parent
5e955288bc
commit
5f12486229
12 changed files with 71 additions and 46 deletions
|
|
@ -82,6 +82,7 @@
|
|||
#define SIGQUIT SIGTERM /* No SIGQUIT */
|
||||
|
||||
#undef _REENTRANT /* Crashes something for win32 */
|
||||
#undef SAFE_MUTEX /* Can't be used on windows */
|
||||
|
||||
#define LONGLONG_MIN ((__int64) 0x8000000000000000)
|
||||
#define LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF)
|
||||
|
|
|
|||
|
|
@ -503,15 +503,15 @@ extern int pthread_dummy(int);
|
|||
struct st_my_thread_var
|
||||
{
|
||||
int thr_errno;
|
||||
int cmp_length;
|
||||
volatile int abort;
|
||||
long id;
|
||||
pthread_cond_t suspend, *current_cond;
|
||||
pthread_mutex_t mutex, *current_mutex;
|
||||
pthread_t pthread_self;
|
||||
long id;
|
||||
int cmp_length;
|
||||
volatile int abort;
|
||||
#ifndef DBUG_OFF
|
||||
char name[THREAD_NAME_SIZE+1];
|
||||
gptr dbug;
|
||||
char name[THREAD_NAME_SIZE+1];
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ typedef struct st_mi_check_param
|
|||
ulonglong max_data_file_length;
|
||||
ulonglong keys_in_use;
|
||||
my_off_t new_file_pos,key_file_blocks;
|
||||
my_off_t keydata,totaldata,key_blocks;
|
||||
my_off_t keydata,totaldata,key_blocks,start_check_pos;
|
||||
ha_checksum record_checksum,glob_crc;
|
||||
char temp_filename[FN_REFLEN],*isam_file_name,*tmpdir;
|
||||
int tmpfile_createflag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue