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
d4f01284
Commit
d4f01284
authored
Apr 10, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
parents
4496a8f5
829ca34d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
client/mysqltest.c
client/mysqltest.c
+11
-4
No files found.
client/mysqltest.c
View file @
d4f01284
...
@@ -91,6 +91,7 @@ enum {
...
@@ -91,6 +91,7 @@ enum {
static
int
record
=
0
,
opt_sleep
=
-
1
;
static
int
record
=
0
,
opt_sleep
=
-
1
;
static
char
*
opt_db
=
0
,
*
opt_pass
=
0
;
static
char
*
opt_db
=
0
,
*
opt_pass
=
0
;
const
char
*
opt_user
=
0
,
*
opt_host
=
0
,
*
unix_sock
=
0
,
*
opt_basedir
=
"./"
;
const
char
*
opt_user
=
0
,
*
opt_host
=
0
,
*
unix_sock
=
0
,
*
opt_basedir
=
"./"
;
const
char
*
opt_logdir
=
""
;
const
char
*
opt_include
=
0
,
*
opt_charsets_dir
;
const
char
*
opt_include
=
0
,
*
opt_charsets_dir
;
static
int
opt_port
=
0
;
static
int
opt_port
=
0
;
static
int
opt_max_connect_retries
;
static
int
opt_max_connect_retries
;
...
@@ -4263,6 +4264,8 @@ static struct my_option my_long_options[] =
...
@@ -4263,6 +4264,8 @@ static struct my_option my_long_options[] =
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"include"
,
'i'
,
"Include SQL before each test case."
,
(
gptr
*
)
&
opt_include
,
{
"include"
,
'i'
,
"Include SQL before each test case."
,
(
gptr
*
)
&
opt_include
,
(
gptr
*
)
&
opt_include
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
(
gptr
*
)
&
opt_include
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"logdir"
,
0
,
"Directory for log files"
,
(
gptr
*
)
&
opt_logdir
,
(
gptr
*
)
&
opt_logdir
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"mark-progress"
,
OPT_MARK_PROGRESS
,
{
"mark-progress"
,
OPT_MARK_PROGRESS
,
"Write linenumber and elapsed time to <testname>.progress "
,
"Write linenumber and elapsed time to <testname>.progress "
,
(
gptr
*
)
&
opt_mark_progress
,
(
gptr
*
)
&
opt_mark_progress
,
0
,
(
gptr
*
)
&
opt_mark_progress
,
(
gptr
*
)
&
opt_mark_progress
,
0
,
...
@@ -4565,15 +4568,18 @@ void dump_result_to_reject_file(char *buf, int size)
...
@@ -4565,15 +4568,18 @@ void dump_result_to_reject_file(char *buf, int size)
void
dump_result_to_log_file
(
char
*
buf
,
int
size
)
void
dump_result_to_log_file
(
char
*
buf
,
int
size
)
{
{
char
log_file
[
FN_REFLEN
];
char
log_file
[
FN_REFLEN
];
str_to_file
(
fn_format
(
log_file
,
result_file_name
,
""
,
".log"
,
str_to_file
(
fn_format
(
log_file
,
result_file_name
,
opt_logdir
,
".log"
,
*
opt_logdir
?
MY_REPLACE_DIR
|
MY_REPLACE_EXT
:
MY_REPLACE_EXT
),
MY_REPLACE_EXT
),
buf
,
size
);
buf
,
size
);
}
}
void
dump_progress
(
void
)
void
dump_progress
(
void
)
{
{
char
log_file
[
FN_REFLEN
];
char
progress_file
[
FN_REFLEN
];
str_to_file
(
fn_format
(
log_file
,
result_file_name
,
""
,
".progress"
,
str_to_file
(
fn_format
(
progress_file
,
result_file_name
,
opt_logdir
,
".progress"
,
*
opt_logdir
?
MY_REPLACE_DIR
|
MY_REPLACE_EXT
:
MY_REPLACE_EXT
),
MY_REPLACE_EXT
),
ds_progress
.
str
,
ds_progress
.
length
);
ds_progress
.
str
,
ds_progress
.
length
);
}
}
...
@@ -4582,7 +4588,8 @@ void dump_warning_messages(void)
...
@@ -4582,7 +4588,8 @@ void dump_warning_messages(void)
{
{
char
warn_file
[
FN_REFLEN
];
char
warn_file
[
FN_REFLEN
];
str_to_file
(
fn_format
(
warn_file
,
result_file_name
,
""
,
".warnings"
,
str_to_file
(
fn_format
(
warn_file
,
result_file_name
,
opt_logdir
,
".warnings"
,
*
opt_logdir
?
MY_REPLACE_DIR
|
MY_REPLACE_EXT
:
MY_REPLACE_EXT
),
MY_REPLACE_EXT
),
ds_warning_messages
.
str
,
ds_warning_messages
.
length
);
ds_warning_messages
.
str
,
ds_warning_messages
.
length
);
}
}
...
...
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