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
8367241d
Commit
8367241d
authored
Jul 12, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update handler.* tests
parent
224238a0
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
mysql-test/suite/handler/aria.result
mysql-test/suite/handler/aria.result
+3
-3
mysql-test/suite/handler/handler.inc
mysql-test/suite/handler/handler.inc
+1
-1
mysql-test/suite/handler/heap.result
mysql-test/suite/handler/heap.result
+8
-8
mysql-test/suite/handler/innodb.result
mysql-test/suite/handler/innodb.result
+3
-3
mysql-test/suite/handler/myisam.result
mysql-test/suite/handler/myisam.result
+3
-3
No files found.
mysql-test/suite/handler/aria.result
View file @
8367241d
...
@@ -582,11 +582,11 @@ select * from t1;
...
@@ -582,11 +582,11 @@ select * from t1;
ERROR 42S02: Table 'test.t1' doesn't exist
ERROR 42S02: Table 'test.t1' doesn't exist
drop table if exists t1;
drop table if exists t1;
Warnings:
Warnings:
Note 1051 Unknown table 't1'
Note 1051 Unknown table 't
est.t
1'
create table t1 (a int not null) ENGINE=csv;
create table t1 (a int not null) ENGINE=csv;
--> client 2
--> client 2
handler t1 open;
handler t1 open;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine CSV of the table `test`.`t1`
doesn't have this option
--> client 1
--> client 1
drop table t1;
drop table t1;
create table t1 (a int);
create table t1 (a int);
...
@@ -741,7 +741,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
...
@@ -741,7 +741,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
handler t2 close;
handler t2 close;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
handler t3 open;
handler t3 open;
ERROR HY000: Can't
execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't
reopen table: 't3'
# After UNLOCK TABLES handlers should be around and
# After UNLOCK TABLES handlers should be around and
# we should be able to continue reading through them.
# we should be able to continue reading through them.
unlock tables;
unlock tables;
...
...
mysql-test/suite/handler/handler.inc
View file @
8367241d
...
@@ -581,7 +581,7 @@ handler t1 open;
...
@@ -581,7 +581,7 @@ handler t1 open;
handler
t1
read
next
;
handler
t1
read
next
;
--
error
ER_LOCK_OR_ACTIVE_TRANSACTION
--
error
ER_LOCK_OR_ACTIVE_TRANSACTION
handler
t2
close
;
handler
t2
close
;
--
error
ER_
LOCK_OR_ACTIVE_TRANSACTION
--
error
ER_
CANT_REOPEN_TABLE
handler
t3
open
;
handler
t3
open
;
--
echo
# After UNLOCK TABLES handlers should be around and
--
echo
# After UNLOCK TABLES handlers should be around and
--
echo
# we should be able to continue reading through them.
--
echo
# we should be able to continue reading through them.
...
...
mysql-test/suite/handler/heap.result
View file @
8367241d
...
@@ -582,11 +582,11 @@ select * from t1;
...
@@ -582,11 +582,11 @@ select * from t1;
ERROR 42S02: Table 'test.t1' doesn't exist
ERROR 42S02: Table 'test.t1' doesn't exist
drop table if exists t1;
drop table if exists t1;
Warnings:
Warnings:
Note 1051 Unknown table 't1'
Note 1051 Unknown table 't
est.t
1'
create table t1 (a int not null) ENGINE=csv;
create table t1 (a int not null) ENGINE=csv;
--> client 2
--> client 2
handler t1 open;
handler t1 open;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine CSV of the table `test`.`t1`
doesn't have this option
--> client 1
--> client 1
drop table t1;
drop table t1;
create table t1 (a int);
create table t1 (a int);
...
@@ -741,7 +741,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
...
@@ -741,7 +741,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
handler t2 close;
handler t2 close;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
handler t3 open;
handler t3 open;
ERROR HY000: Can't
execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't
reopen table: 't3'
# After UNLOCK TABLES handlers should be around and
# After UNLOCK TABLES handlers should be around and
# we should be able to continue reading through them.
# we should be able to continue reading through them.
unlock tables;
unlock tables;
...
@@ -1728,9 +1728,9 @@ a b
...
@@ -1728,9 +1728,9 @@ a b
4 40
4 40
5 50
5 50
HANDLER t1 READ a FIRST;
HANDLER t1 READ a FIRST;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine MEMORY of the table `test`.`t1`
doesn't have this option
HANDLER t1 READ a LAST;
HANDLER t1 READ a LAST;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine MEMORY of the table `test`.`t1`
doesn't have this option
HANDLER t1 READ b FIRST LIMIT 2;
HANDLER t1 READ b FIRST LIMIT 2;
a b
a b
1 10
1 10
...
@@ -1781,11 +1781,11 @@ create table t1 (f1 integer not null, key (f1)) engine=Memory;
...
@@ -1781,11 +1781,11 @@ create table t1 (f1 integer not null, key (f1)) engine=Memory;
insert into t1 values (1);
insert into t1 values (1);
HANDLER t1 OPEN;
HANDLER t1 OPEN;
HANDLER t1 READ f1 NEXT;
HANDLER t1 READ f1 NEXT;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine MEMORY of the table `test`.`t1`
doesn't have this option
HANDLER t1 READ f1 NEXT;
HANDLER t1 READ f1 NEXT;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine MEMORY of the table `test`.`t1`
doesn't have this option
HANDLER t1 READ f1 NEXT;
HANDLER t1 READ f1 NEXT;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine MEMORY of the table `test`.`t1`
doesn't have this option
HANDLER t1 CLOSE;
HANDLER t1 CLOSE;
DROP TABLE t1;
DROP TABLE t1;
End of 5.3 tests
End of 5.3 tests
mysql-test/suite/handler/innodb.result
View file @
8367241d
...
@@ -583,11 +583,11 @@ select * from t1;
...
@@ -583,11 +583,11 @@ select * from t1;
ERROR 42S02: Table 'test.t1' doesn't exist
ERROR 42S02: Table 'test.t1' doesn't exist
drop table if exists t1;
drop table if exists t1;
Warnings:
Warnings:
Note 1051 Unknown table 't1'
Note 1051 Unknown table 't
est.t
1'
create table t1 (a int not null) ENGINE=csv;
create table t1 (a int not null) ENGINE=csv;
--> client 2
--> client 2
handler t1 open;
handler t1 open;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine CSV of the table `test`.`t1`
doesn't have this option
--> client 1
--> client 1
drop table t1;
drop table t1;
create table t1 (a int);
create table t1 (a int);
...
@@ -743,7 +743,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
...
@@ -743,7 +743,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
handler t2 close;
handler t2 close;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
handler t3 open;
handler t3 open;
ERROR HY000: Can't
execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't
reopen table: 't3'
# After UNLOCK TABLES handlers should be around and
# After UNLOCK TABLES handlers should be around and
# we should be able to continue reading through them.
# we should be able to continue reading through them.
unlock tables;
unlock tables;
...
...
mysql-test/suite/handler/myisam.result
View file @
8367241d
...
@@ -582,11 +582,11 @@ select * from t1;
...
@@ -582,11 +582,11 @@ select * from t1;
ERROR 42S02: Table 'test.t1' doesn't exist
ERROR 42S02: Table 'test.t1' doesn't exist
drop table if exists t1;
drop table if exists t1;
Warnings:
Warnings:
Note 1051 Unknown table 't1'
Note 1051 Unknown table 't
est.t
1'
create table t1 (a int not null) ENGINE=csv;
create table t1 (a int not null) ENGINE=csv;
--> client 2
--> client 2
handler t1 open;
handler t1 open;
ERROR HY000:
Table storage engine for 't1'
doesn't have this option
ERROR HY000:
Storage engine CSV of the table `test`.`t1`
doesn't have this option
--> client 1
--> client 1
drop table t1;
drop table t1;
create table t1 (a int);
create table t1 (a int);
...
@@ -741,7 +741,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
...
@@ -741,7 +741,7 @@ ERROR HY000: Can't execute the given command because you have active locked tabl
handler t2 close;
handler t2 close;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
handler t3 open;
handler t3 open;
ERROR HY000: Can't
execute the given command because you have active locked tables or an active transaction
ERROR HY000: Can't
reopen table: 't3'
# After UNLOCK TABLES handlers should be around and
# After UNLOCK TABLES handlers should be around and
# we should be able to continue reading through them.
# we should be able to continue reading through them.
unlock tables;
unlock tables;
...
...
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