mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: Make tempfile creation uniform with DISK_CHUNK_SIZE
Replace READ_RECORD_SIZE and DISK_BUFFER_SIZE (renamed to DISK_CHUNK_SIZE) to be used across all open_cached_file calls. Reviewer: Monty
This commit is contained in:
committed by
Sergei Petrunia
parent
fa90ac6180
commit
ca2851d17e
@ -840,8 +840,8 @@ int mysql_update(THD *thd,
|
||||
explain->buf_tracker.on_scan_init();
|
||||
IO_CACHE tempfile;
|
||||
if (open_cached_file(&tempfile, mysql_tmpdir,TEMP_PREFIX,
|
||||
DISK_BUFFER_SIZE, MYF(MY_WME)))
|
||||
goto err;
|
||||
DISK_CHUNK_SIZE, MYF(MY_WME)))
|
||||
goto err;
|
||||
|
||||
/* If quick select is used, initialize it before retrieving rows. */
|
||||
if (select && select->quick && select->quick->reset())
|
||||
|
Reference in New Issue
Block a user