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
20eb74dc
Commit
20eb74dc
authored
Nov 11, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Write fatal errors even if silent is used in client_test
parent
fd39778f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
mysql-test/t/client_test.test
mysql-test/t/client_test.test
+1
-1
tests/client_test.c
tests/client_test.c
+2
-0
No files found.
mysql-test/t/client_test.test
View file @
20eb74dc
--
disable_result_log
--
disable_result_log
--
exec
$TESTS_BINDIR
/
client_test
--
testcase
--
user
=
root
--
socket
=
$MASTER_MYSOCK
--
port
=
$MYSQL_TCP_PORT
--
silent
--
exec
$TESTS_BINDIR
/
client_test
--
no
-
defaults
--
testcase
--
user
=
root
--
socket
=
$MASTER_MYSOCK
--
port
=
$MYSQL_TCP_PORT
--
silent
tests/client_test.c
View file @
20eb74dc
...
@@ -215,6 +215,7 @@ static void client_connect()
...
@@ -215,6 +215,7 @@ static void client_connect()
if
(
!
(
mysql
=
mysql_init
(
NULL
)))
if
(
!
(
mysql
=
mysql_init
(
NULL
)))
{
{
opt_silent
=
0
;
myerror
(
"mysql_init() failed"
);
myerror
(
"mysql_init() failed"
);
exit
(
1
);
exit
(
1
);
}
}
...
@@ -223,6 +224,7 @@ static void client_connect()
...
@@ -223,6 +224,7 @@ static void client_connect()
opt_password
,
opt_db
?
opt_db
:
"test"
,
opt_port
,
opt_password
,
opt_db
?
opt_db
:
"test"
,
opt_port
,
opt_unix_socket
,
0
)))
opt_unix_socket
,
0
)))
{
{
opt_silent
=
0
;
myerror
(
"connection failed"
);
myerror
(
"connection failed"
);
mysql_close
(
mysql
);
mysql_close
(
mysql
);
fprintf
(
stdout
,
"
\n
Check the connection options using --help or -?
\n
"
);
fprintf
(
stdout
,
"
\n
Check the connection options using --help or -?
\n
"
);
...
...
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