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
b7c05570
Commit
b7c05570
authored
Jan 06, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
upmerge 49269 amendment
parents
7ab9cbe3
ed64190b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
client/mysqltest.cc
client/mysqltest.cc
+1
-0
mysql-test/r/mysqltest.result
mysql-test/r/mysqltest.result
+7
-0
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+12
-0
No files found.
client/mysqltest.cc
View file @
b7c05570
...
...
@@ -4584,6 +4584,7 @@ void select_connection_name(const char *name)
if
(
!
con
)
die
(
"connection '%s' not found in connection pool"
,
name
);
con
->
pending
=
FALSE
;
set_current_connection
(
con
);
DBUG_VOID_RETURN
;
...
...
mysql-test/r/mysqltest.result
View file @
b7c05570
...
...
@@ -542,6 +542,13 @@ f1
Abcd
mysqltest: At line 2: Cannot run query on connection between send and reap
select * from t1;;
select * from t1;;
select 1;
1
1
select 2;
2
2
drop table t1;
mysqltest: At line 1: Missing required argument 'filename' to command 'remove_file'
mysqltest: At line 1: Missing required argument 'filename' to command 'write_file'
...
...
mysql-test/t/mysqltest.test
View file @
b7c05570
...
...
@@ -1654,6 +1654,18 @@ EOF
--
exec
$MYSQL_TEST
<
$MYSQLTEST_VARDIR
/
tmp
/
mysqltest
.
in
2
>&
1
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqltest
.
in
;
# 7. Test that stmt after send without reap IS allowed
# if we have switched connections
connect
(
test_con1
,
localhost
,
root
,,);
--
send
select
*
from
t1
;
connection
default
;
select
1
;
connection
test_con1
;
select
2
;
disconnect
test_con1
;
connection
default
;
drop
table
t1
;
# ----------------------------------------------------------------------------
...
...
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