Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1fcc57a1
Commit
1fcc57a1
authored
Mar 10, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
7668ca4d
c469a59b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
client/mysql_upgrade.c
client/mysql_upgrade.c
+3
-2
No files found.
client/mysql_upgrade.c
View file @
1fcc57a1
...
...
@@ -44,7 +44,7 @@ static DYNAMIC_STRING conn_args;
static
char
*
opt_password
=
0
;
static
my_bool
tty_password
=
0
;
static
char
opt_tmpdir
[
FN_REFLEN
];
static
char
opt_tmpdir
[
FN_REFLEN
]
=
""
;
#ifndef DBUG_OFF
static
char
*
default_dbug_option
=
(
char
*
)
"d:t:O,/tmp/mysql_upgrade.trace"
;
...
...
@@ -459,7 +459,8 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res,
DBUG_ENTER
(
"run_query"
);
DBUG_PRINT
(
"enter"
,
(
"query: %s"
,
query
));
if
((
fd
=
create_temp_file
(
query_file_path
,
opt_tmpdir
,
if
((
fd
=
create_temp_file
(
query_file_path
,
opt_tmpdir
[
0
]
?
opt_tmpdir
:
NULL
,
"sql"
,
O_CREAT
|
O_SHARE
|
O_RDWR
,
MYF
(
MY_WME
)))
<
0
)
die
(
"Failed to create temporary file for defaults"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment