1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Update of VC++ project files (to remove link warnings)

Fix unlock error in myisamchk on windows when doing --sort-index
Use SetFilePointer instead of SetFilePointerEx
This commit is contained in:
monty@narttu.mysql.fi
2003-08-25 14:27:32 +03:00
parent 9d02d19ce8
commit f83e876065
36 changed files with 181 additions and 171 deletions

View File

@@ -1079,7 +1079,7 @@ void ha_key_cache(void)
changes.
*/
pthread_mutex_lock(&LOCK_global_system_variables);
long tmp= keybuff_size;
long tmp= (long) keybuff_size;
pthread_mutex_unlock(&LOCK_global_system_variables);
if (tmp)
(void) init_key_cache(tmp);
@@ -1089,7 +1089,7 @@ void ha_key_cache(void)
void ha_resize_key_cache(void)
{
pthread_mutex_lock(&LOCK_global_system_variables);
long tmp= keybuff_size;
long tmp= (long) keybuff_size;
pthread_mutex_unlock(&LOCK_global_system_variables);
(void) resize_key_cache(tmp);
}