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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
51215498
Commit
51215498
authored
Mar 10, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
a774c83c
25a271a0
Changes
1
Show 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 @
51215498
...
@@ -44,7 +44,7 @@ static DYNAMIC_STRING conn_args;
...
@@ -44,7 +44,7 @@ static DYNAMIC_STRING conn_args;
static
char
*
opt_password
=
0
;
static
char
*
opt_password
=
0
;
static
my_bool
tty_password
=
0
;
static
my_bool
tty_password
=
0
;
static
char
opt_tmpdir
[
FN_REFLEN
];
static
char
opt_tmpdir
[
FN_REFLEN
]
=
""
;
#ifndef DBUG_OFF
#ifndef DBUG_OFF
static
char
*
default_dbug_option
=
(
char
*
)
"d:t:O,/tmp/mysql_upgrade.trace"
;
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,
...
@@ -459,7 +459,8 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res,
DBUG_ENTER
(
"run_query"
);
DBUG_ENTER
(
"run_query"
);
DBUG_PRINT
(
"enter"
,
(
"query: %s"
,
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
,
"sql"
,
O_CREAT
|
O_SHARE
|
O_RDWR
,
MYF
(
MY_WME
)))
<
0
)
MYF
(
MY_WME
)))
<
0
)
die
(
"Failed to create temporary file for defaults"
);
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