mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
crease number of open files to 2048 on windows
Don't do fsync on temporary .frm files
This commit is contained in:
parent
c042a1a654
commit
d1e4ede7bf
2 changed files with 4 additions and 2 deletions
|
@ -316,7 +316,7 @@ inline double ulonglong2double(ulonglong value)
|
|||
#define FN_ROOTDIR "\\"
|
||||
#define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */
|
||||
#define FN_NO_CASE_SENCE /* Files are not case-sensitive */
|
||||
#define MY_NFILE 1024
|
||||
#define MY_NFILE 2048
|
||||
|
||||
#define DO_NOT_REMOVE_THREAD_WRAPPERS
|
||||
#define thread_safe_increment(V,L) InterlockedIncrement((long*) &(V))
|
||||
|
|
|
@ -150,7 +150,9 @@ int rea_create_table(my_string file_name,
|
|||
|
||||
my_free((gptr) screen_buff,MYF(0));
|
||||
my_afree((gptr) keybuff);
|
||||
if (opt_sync_frm && my_sync(file, MYF(MY_WME)))
|
||||
|
||||
if (opt_sync_frm && !(create_info->options & HA_LEX_CREATE_TMP_TABLE) &&
|
||||
my_sync(file, MYF(MY_WME)))
|
||||
goto err2;
|
||||
if (my_close(file,MYF(MY_WME)) ||
|
||||
ha_create_table(file_name,create_info,0))
|
||||
|
|
Loading…
Add table
Reference in a new issue