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
961275a3
Commit
961275a3
authored
Dec 06, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
d1c9edf4
94eb027f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
client/mysqltest.c
client/mysqltest.c
+9
-2
mysql-test/t/mysqladmin.test
mysql-test/t/mysqladmin.test
+2
-2
mysys/my_getopt.c
mysys/my_getopt.c
+1
-0
No files found.
client/mysqltest.c
View file @
961275a3
...
...
@@ -105,6 +105,7 @@ static my_bool disable_query_log= 0, disable_result_log= 0;
static
my_bool
disable_warnings
=
0
,
disable_ps_warnings
=
0
;
static
my_bool
disable_info
=
1
;
static
my_bool
abort_on_error
=
1
;
static
my_bool
server_initialized
=
0
;
static
char
**
default_argv
;
static
const
char
*
load_default_groups
[]
=
{
"mysqltest"
,
"client"
,
0
};
...
...
@@ -771,13 +772,18 @@ void free_used_memory()
free_all_replace
();
my_free
(
pass
,
MYF
(
MY_ALLOW_ZERO_PTR
));
free_defaults
(
default_argv
);
mysql_server_end
();
free_re
();
#ifdef __WIN__
free_tmp_sh_file
();
free_win_path_patterns
();
#endif
DBUG_VOID_RETURN
;
/* Only call mysql_server_end if mysql_server_init has been called */
if
(
server_initialized
)
mysql_server_end
();
/* Don't use DBUG after mysql_server_end() */
return
;
}
...
...
@@ -5628,6 +5634,7 @@ int main(int argc, char **argv)
embedded_server_args
,
(
char
**
)
embedded_server_groups
))
die
(
"Can't initialize MySQL server"
);
server_initialized
=
1
;
if
(
cur_file
==
file_stack
&&
cur_file
->
file
==
0
)
{
cur_file
->
file
=
stdin
;
...
...
mysql-test/t/mysqladmin.test
View file @
961275a3
...
...
@@ -15,7 +15,7 @@
database
=
db1
EOF
--
replace_regex
/
\
/.*
mysqladmin
/
mysqladmi
n
/
--
replace_regex
/
.*
mysqladmin
.*:
unknown
/
mysqladmin
:
unknow
n
/
--
error
7
--
exec
$MYSQLADMIN
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
tmp
/
bug10608
.
cnf
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
-
u
root
--
password
=
ping
2
>&
1
...
...
@@ -27,6 +27,6 @@ EOF
loose
-
database
=
db2
EOF
--
replace_regex
/
Warning
:
.*
mysqladmin
/
Warning
:
mysqladmi
n
/
--
replace_regex
/
Warning
:
.*
mysqladmin
.*:
unknown
/
Warning
:
mysqladmin
:
unknow
n
/
--
exec
$MYSQLADMIN
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
tmp
/
bug10608
.
cnf
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
-
u
root
--
password
=
ping
2
>&
1
mysys/my_getopt.c
View file @
961275a3
...
...
@@ -70,6 +70,7 @@ static void default_reporter(enum loglevel level,
fprintf
(
stderr
,
"%s"
,
"Info: "
);
vfprintf
(
stderr
,
format
,
args
);
va_end
(
args
);
fflush
(
stderr
);
}
/*
...
...
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