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
4dfbc712
Commit
4dfbc712
authored
Nov 08, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
parents
6bc6064e
1437500c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
+18
-8
client/mysqltest.c
client/mysqltest.c
+15
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-3
No files found.
client/mysqltest.c
View file @
4dfbc712
...
...
@@ -80,13 +80,13 @@ enum {
OPT_SSL_CA
,
OPT_SSL_CAPATH
,
OPT_SSL_CIPHER
,
OPT_PS_PROTOCOL
,
OPT_SP_PROTOCOL
,
OPT_CURSOR_PROTOCOL
,
OPT_VIEW_PROTOCOL
,
OPT_SSL_VERIFY_SERVER_CERT
,
OPT_MAX_CONNECT_RETRIES
,
OPT_MARK_PROGRESS
OPT_MARK_PROGRESS
,
OPT_CHARSETS_DIR
};
static
int
record
=
0
,
opt_sleep
=
-
1
;
static
char
*
db
=
0
,
*
pass
=
0
;
const
char
*
user
=
0
,
*
host
=
0
,
*
unix_sock
=
0
,
*
opt_basedir
=
"./"
;
const
char
*
opt_include
=
0
;
const
char
*
opt_include
=
0
,
*
opt_charsets_dir
;
static
int
port
=
0
;
static
int
opt_max_connect_retries
;
static
my_bool
opt_compress
=
0
,
silent
=
0
,
verbose
=
0
;
...
...
@@ -145,7 +145,6 @@ static struct st_test_file* file_stack_end;
static
CHARSET_INFO
*
charset_info
=
&
my_charset_latin1
;
/* Default charset */
static
const
char
*
charset_name
=
"latin1"
;
/* Default character set name */
static
const
char
*
embedded_server_groups
[]
=
{
...
...
@@ -3093,7 +3092,11 @@ void do_connect(struct st_command *command)
if
(
opt_compress
||
con_compress
)
mysql_options
(
&
next_con
->
mysql
,
MYSQL_OPT_COMPRESS
,
NullS
);
mysql_options
(
&
next_con
->
mysql
,
MYSQL_OPT_LOCAL_INFILE
,
0
);
mysql_options
(
&
next_con
->
mysql
,
MYSQL_SET_CHARSET_NAME
,
charset_name
);
mysql_options
(
&
next_con
->
mysql
,
MYSQL_SET_CHARSET_NAME
,
charset_info
->
csname
);
if
(
opt_charsets_dir
)
mysql_options
(
&
cur_con
->
mysql
,
MYSQL_SET_CHARSET_DIR
,
opt_charsets_dir
);
#ifdef HAVE_OPENSSL
if
(
opt_use_ssl
||
con_ssl
)
...
...
@@ -3779,6 +3782,9 @@ static struct my_option my_long_options[] =
0
,
0
,
0
,
0
,
0
,
0
},
{
"basedir"
,
'b'
,
"Basedir for tests."
,
(
gptr
*
)
&
opt_basedir
,
(
gptr
*
)
&
opt_basedir
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"character-sets-dir"
,
OPT_CHARSETS_DIR
,
"Directory where character sets are."
,
(
gptr
*
)
&
opt_charsets_dir
,
(
gptr
*
)
&
opt_charsets_dir
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"compress"
,
'C'
,
"Use the compressed server/client protocol."
,
(
gptr
*
)
&
opt_compress
,
(
gptr
*
)
&
opt_compress
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
...
...
@@ -5511,7 +5517,11 @@ int main(int argc, char **argv)
if
(
opt_compress
)
mysql_options
(
&
cur_con
->
mysql
,
MYSQL_OPT_COMPRESS
,
NullS
);
mysql_options
(
&
cur_con
->
mysql
,
MYSQL_OPT_LOCAL_INFILE
,
0
);
mysql_options
(
&
cur_con
->
mysql
,
MYSQL_SET_CHARSET_NAME
,
charset_name
);
mysql_options
(
&
cur_con
->
mysql
,
MYSQL_SET_CHARSET_NAME
,
charset_info
->
csname
);
if
(
opt_charsets_dir
)
mysql_options
(
&
cur_con
->
mysql
,
MYSQL_SET_CHARSET_DIR
,
opt_charsets_dir
);
#ifdef HAVE_OPENSSL
...
...
mysql-test/mysql-test-run.pl
View file @
4dfbc712
...
...
@@ -2988,9 +2988,9 @@ sub analyze_testcase_failure_sync_with_master($)
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--silent
");
mtr_add_arg
(
$args
,
"
-v
");
mtr_add_arg
(
$args
,
"
--skip-safemalloc
");
mtr_add_arg
(
$args
,
"
--tmpdir=%s
",
$opt_tmpdir
);
mtr_add_arg
(
$args
,
"
--character-sets-dir=%s
",
$path_charsetsdir
);
mtr_add_arg
(
$args
,
"
--socket=%s
",
$master
->
[
0
]
->
{'
path_sock
'});
mtr_add_arg
(
$args
,
"
--port=%d
",
$master
->
[
0
]
->
{'
port
'});
...
...
@@ -4174,9 +4174,9 @@ sub run_check_testcase ($$) {
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--silent
");
mtr_add_arg
(
$args
,
"
-v
");
mtr_add_arg
(
$args
,
"
--skip-safemalloc
");
mtr_add_arg
(
$args
,
"
--tmpdir=%s
",
$opt_tmpdir
);
mtr_add_arg
(
$args
,
"
--character-sets-dir=%s
",
$path_charsetsdir
);
mtr_add_arg
(
$args
,
"
--socket=%s
",
$mysqld
->
{'
path_sock
'});
mtr_add_arg
(
$args
,
"
--port=%d
",
$mysqld
->
{'
port
'});
...
...
@@ -4220,9 +4220,9 @@ sub run_mysqltest ($) {
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--silent
");
mtr_add_arg
(
$args
,
"
-v
");
mtr_add_arg
(
$args
,
"
--skip-safemalloc
");
mtr_add_arg
(
$args
,
"
--tmpdir=%s
",
$opt_tmpdir
);
mtr_add_arg
(
$args
,
"
--character-sets-dir=%s
",
$path_charsetsdir
);
if
(
$tinfo
->
{'
component_id
'}
eq
'
im
')
{
...
...
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