mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge 10.5 into 10.6
This commit is contained in:
commit
03c09837fc
33 changed files with 243 additions and 85 deletions
|
|
@ -121,7 +121,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix,
|
|||
/* explictly don't use O_EXCL here has it has a different
|
||||
meaning with O_TMPFILE
|
||||
*/
|
||||
if ((file= open(dir, mode | O_TMPFILE | O_CLOEXEC,
|
||||
if ((file= open(dir, (mode & ~O_CREAT) | O_TMPFILE | O_CLOEXEC,
|
||||
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)) >= 0)
|
||||
{
|
||||
my_snprintf(to, FN_REFLEN, "%s/#sql/fd=%d", dir, file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue