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
0233b135
Commit
0233b135
authored
Mar 20, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests fixed to work in embedded server
parent
90879b57
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
16 deletions
+20
-16
mysql-test/r/delayed.result
mysql-test/r/delayed.result
+5
-0
mysql-test/r/merge.result
mysql-test/r/merge.result
+0
-5
mysql-test/t/delayed.test
mysql-test/t/delayed.test
+10
-0
mysql-test/t/init_connect.test
mysql-test/t/init_connect.test
+3
-2
mysql-test/t/merge.test
mysql-test/t/merge.test
+0
-9
mysql-test/t/mysqlbinlog-cp932.test
mysql-test/t/mysqlbinlog-cp932.test
+2
-0
No files found.
mysql-test/r/delayed.result
View file @
0233b135
...
@@ -250,3 +250,8 @@ SELECT HEX(a) FROM t1;
...
@@ -250,3 +250,8 @@ SELECT HEX(a) FROM t1;
HEX(a)
HEX(a)
1
1
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1(c1 INT) ENGINE=MyISAM;
CREATE TABLE t2(c1 INT) ENGINE=MERGE UNION=(t1);
INSERT DELAYED INTO t2 VALUES(1);
ERROR HY000: Table storage engine for 't2' doesn't have this option
DROP TABLE t1, t2;
mysql-test/r/merge.result
View file @
0233b135
...
@@ -803,11 +803,6 @@ CREATE TABLE tm1(a SMALLINT, b SMALLINT, KEY(a)) ENGINE=MERGE UNION=(t1);
...
@@ -803,11 +803,6 @@ CREATE TABLE tm1(a SMALLINT, b SMALLINT, KEY(a)) ENGINE=MERGE UNION=(t1);
SELECT * FROM tm1;
SELECT * FROM tm1;
ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
DROP TABLE t1, tm1;
DROP TABLE t1, tm1;
CREATE TABLE t1(c1 INT) ENGINE=MyISAM;
CREATE TABLE t2(c1 INT) ENGINE=MERGE UNION=(t1);
INSERT DELAYED INTO t2 VALUES(1);
ERROR HY000: Table storage engine for 't2' doesn't have this option
DROP TABLE t1, t2;
CREATE TABLE t1(c1 VARCHAR(1));
CREATE TABLE t1(c1 VARCHAR(1));
CREATE TABLE m1 LIKE t1;
CREATE TABLE m1 LIKE t1;
ALTER TABLE m1 ENGINE=MERGE UNION=(t1);
ALTER TABLE m1 ENGINE=MERGE UNION=(t1);
...
...
mysql-test/t/delayed.test
View file @
0233b135
...
@@ -242,3 +242,13 @@ INSERT DELAYED INTO t1 VALUES(1);
...
@@ -242,3 +242,13 @@ INSERT DELAYED INTO t1 VALUES(1);
FLUSH
TABLE
t1
;
FLUSH
TABLE
t1
;
SELECT
HEX
(
a
)
FROM
t1
;
SELECT
HEX
(
a
)
FROM
t1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug#26464 - insert delayed + update + merge = corruption
#
CREATE
TABLE
t1
(
c1
INT
)
ENGINE
=
MyISAM
;
CREATE
TABLE
t2
(
c1
INT
)
ENGINE
=
MERGE
UNION
=
(
t1
);
--
error
1031
INSERT
DELAYED
INTO
t2
VALUES
(
1
);
DROP
TABLE
t1
,
t2
;
mysql-test/t/init_connect.test
View file @
0233b135
...
@@ -2,10 +2,11 @@
...
@@ -2,10 +2,11 @@
# Test of init_connect variable
# Test of init_connect variable
#
#
# should work with embedded server after mysqltest is fixed
--
source
include
/
not_embedded
.
inc
--
source
include
/
add_anonymous_users
.
inc
--
source
include
/
add_anonymous_users
.
inc
# should work with embedded server after mysqltest is fixed
--
source
include
/
not_embedded
.
inc
connect
(
con0
,
localhost
,
root
,,);
connect
(
con0
,
localhost
,
root
,,);
connection
con0
;
connection
con0
;
select
hex
(
@
a
);
select
hex
(
@
a
);
...
...
mysql-test/t/merge.test
View file @
0233b135
...
@@ -430,16 +430,7 @@ CREATE TABLE tm1(a SMALLINT, b SMALLINT, KEY(a)) ENGINE=MERGE UNION=(t1);
...
@@ -430,16 +430,7 @@ CREATE TABLE tm1(a SMALLINT, b SMALLINT, KEY(a)) ENGINE=MERGE UNION=(t1);
SELECT
*
FROM
tm1
;
SELECT
*
FROM
tm1
;
DROP
TABLE
t1
,
tm1
;
DROP
TABLE
t1
,
tm1
;
#
# Bug#26464 - insert delayed + update + merge = corruption
#
CREATE
TABLE
t1
(
c1
INT
)
ENGINE
=
MyISAM
;
CREATE
TABLE
t2
(
c1
INT
)
ENGINE
=
MERGE
UNION
=
(
t1
);
--
error
1031
INSERT
DELAYED
INTO
t2
VALUES
(
1
);
DROP
TABLE
t1
,
t2
;
#
# BUG#26881 - Large MERGE tables report incorrect specification when no
# BUG#26881 - Large MERGE tables report incorrect specification when no
# differences in tables
# differences in tables
#
#
...
...
mysql-test/t/mysqlbinlog-cp932.test
View file @
0233b135
# disabled in embedded until tools running is fixed with embedded
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_cp932
.
inc
# Bug#16217 (mysql client did not know how not switch its internal charset)
# Bug#16217 (mysql client did not know how not switch its internal charset)
...
...
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