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
f729ad7d
Commit
f729ad7d
authored
Jan 17, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
ef68a070
8b243b37
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
client/mysqltest.c
client/mysqltest.c
+1
-12
mysql-test/r/mysqltest.result
mysql-test/r/mysqltest.result
+1
-0
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+7
-1
No files found.
client/mysqltest.c
View file @
f729ad7d
...
...
@@ -2143,19 +2143,8 @@ int connect_n_handle_errors(struct st_query *q, MYSQL* con, const char* host,
*
create_conn
=
0
;
goto
err
;
}
else
{
handle_no_error
(
q
);
/*
Fail if there was no error but we expected it.
We also don't want to have connection in this case.
*/
mysql_close
(
con
);
*
create_conn
=
0
;
error
=
1
;
goto
err
;
}
handle_no_error
(
q
);
/*
TODO: change this to 0 in future versions, but the 'kill' test relies on
...
...
mysql-test/r/mysqltest.result
View file @
f729ad7d
...
...
@@ -362,6 +362,7 @@ OK
mysqltest: In included file "./var/tmp/con.sql": At line 7: Connection limit exhausted - increase MAX_CONS in mysqltest.c
mysqltest: In included file "./var/tmp/con.sql": At line 3: connection 'test_con1' not found in connection pool
mysqltest: In included file "./var/tmp/con.sql": At line 2: Connection test_con1 already exists
connect(localhost,root,,test,MASTER_PORT,MASTER_SOCKET);
Output from mysqltest-x.inc
Output from mysqltest-x.inc
Output from mysqltest-x.inc
...
...
mysql-test/t/mysqltest.test
View file @
f729ad7d
...
...
@@ -910,7 +910,13 @@ select "a" as col1, "c" as col2;
--
error
1
--
exec
echo
"source var/tmp/con.sql;"
|
$MYSQL_TEST
2
>&
1
# connect when "disable_abort_on_error" caused "connection not found"
--
replace_result
$MASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
disable_abort_on_error
connect
(
con1
,
localhost
,
root
,,);
connection
default
;
connection
con1
;
--
enable_abort_on_error
# ----------------------------------------------------------------------------
# Test mysqltest arguments
...
...
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