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
668f0e10
Commit
668f0e10
authored
Sep 08, 2005
by
SergeyV@selena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified test case for bug #12517
parent
e0e235c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
22 deletions
+12
-22
mysql-test/r/connect.result
mysql-test/r/connect.result
+2
-12
mysql-test/t/connect.test
mysql-test/t/connect.test
+10
-10
No files found.
mysql-test/r/connect.result
View file @
668f0e10
drop table if exists t1,t2;
show tables;
show tables;
Tables_in_mysql
Tables_in_mysql
columns_priv
columns_priv
...
@@ -65,19 +66,8 @@ show tables;
...
@@ -65,19 +66,8 @@ show tables;
Tables_in_test
Tables_in_test
delete from mysql.user where user=_binary"test";
delete from mysql.user where user=_binary"test";
flush privileges;
flush privileges;
use test;
drop table if exists t1;
Warnings:
Note 1051 Unknown table 't1'
create table t1 (id integer not null auto_increment primary key);
create table t1 (id integer not null auto_increment primary key);
drop table if exists t2;
Warnings:
Note 1051 Unknown table 't2'
create temporary table t2(id integer not null auto_increment primary key);
create temporary table t2(id integer not null auto_increment primary key);
set @id := 1;
set @id := 1;
delete from t1 where id like @id;
delete from t1 where id like @id;
use test;
drop table t1;
drop table if exists t2;
Warnings:
Note 1051 Unknown table 't2'
drop table if exists t1;
mysql-test/t/connect.test
View file @
668f0e10
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
# This test makes no sense with the embedded server
# This test makes no sense with the embedded server
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
#connect (con1,localhost,root,,"");
#connect (con1,localhost,root,,"");
#show tables;
#show tables;
connect
(
con1
,
localhost
,
root
,,
mysql
);
connect
(
con1
,
localhost
,
root
,,
mysql
);
...
@@ -77,22 +81,18 @@ show tables;
...
@@ -77,22 +81,18 @@ show tables;
delete
from
mysql
.
user
where
user
=
_binary
"test"
;
delete
from
mysql
.
user
where
user
=
_binary
"test"
;
flush
privileges
;
flush
privileges
;
# Test for bug #12517.
#
# Bug#12517: Clear user variables and replication events before
# closing temp tables in thread cleanup.
connect
(
con2
,
localhost
,
root
,,
test
);
connect
(
con2
,
localhost
,
root
,,
test
);
connection
con2
;
connection
con2
;
use
test
;
drop
table
if
exists
t1
;
create
table
t1
(
id
integer
not
null
auto_increment
primary
key
);
create
table
t1
(
id
integer
not
null
auto_increment
primary
key
);
drop
table
if
exists
t2
;
create
temporary
table
t2
(
id
integer
not
null
auto_increment
primary
key
);
create
temporary
table
t2
(
id
integer
not
null
auto_increment
primary
key
);
set
@
id
:=
1
;
set
@
id
:=
1
;
delete
from
t1
where
id
like
@
id
;
delete
from
t1
where
id
like
@
id
;
disconnect
con2
;
disconnect
con2
;
sleep
5
;
--
sleep
5
connect
(
con1
,
localhost
,
root
,,
test
);
connection
default
;
connection
con1
;
drop
table
t1
;
use
test
;
drop
table
if
exists
t2
;
drop
table
if
exists
t1
;
# End of 4.1 tests
# End of 4.1 tests
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