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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
de9d2465
Commit
de9d2465
authored
Oct 31, 2003
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for mysql tests.
parent
c5b481d9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
16 deletions
+17
-16
mysql-test/r/mysqlbinlog.result
mysql-test/r/mysqlbinlog.result
+1
-1
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+9
-8
mysql-test/r/negation_elimination.result
mysql-test/r/negation_elimination.result
+1
-1
mysql-test/t/mysqlbinlog.test
mysql-test/t/mysqlbinlog.test
+1
-1
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+5
-5
No files found.
mysql-test/r/mysqlbinlog.result
View file @
de9d2465
...
@@ -80,4 +80,4 @@ insert into t1 values ("Alas");
...
@@ -80,4 +80,4 @@ insert into t1 values ("Alas");
use test;
use test;
SET TIMESTAMP=1000000000;
SET TIMESTAMP=1000000000;
insert into t1 values ("Alas");
insert into t1 values ("Alas");
drop table t1;
drop table t1
, t2
;
mysql-test/r/mysqldump.result
View file @
de9d2465
DROP TABLE IF EXISTS t1;
DROP TABLE IF EXISTS t1
, `"t"1`
;
CREATE TABLE t1(a int);
CREATE TABLE t1(a int);
INSERT INTO t1 VALUES (1), (2);
INSERT INTO t1 VALUES (1), (2);
<?xml version="1.0"?>
<?xml version="1.0"?>
...
@@ -18,21 +18,22 @@ INSERT INTO t1 VALUES (1), (2);
...
@@ -18,21 +18,22 @@ INSERT INTO t1 VALUES (1), (2);
</database>
</database>
</mysqldump>
</mysqldump>
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE `
t"1` (`a"b"c
"` char(2));
CREATE TABLE `
"t"1` (`a"b
"` char(2));
INSERT INTO `
t"1` VALUES ("\"1"), ("2\"
");
INSERT INTO `
"t"1` VALUES ("1\""), ("\"2
");
<?xml version="1.0"?>
<?xml version="1.0"?>
<mysqldump>
<mysqldump>
<database name="test">
<database name="test">
<table_structure name="t"1">
<table_structure name="
"
t"1">
<field Field="a"b"
c"
" Type="char(2)" Null="YES" />
<field Field="a"b"" Type="char(2)" Null="YES" />
</table_structure>
</table_structure>
<table_data name="t"1">
<table_data name="
"
t"1">
<row>
<row>
<field name="a"b"
c"">"1
</field>
<field name="a"b"
">1"
</field>
</row>
</row>
<row>
<row>
<field name="a"b"
c"">2"
</field>
<field name="a"b"
">"2
</field>
</row>
</row>
</table_data>
</table_data>
</database>
</database>
</mysqldump>
</mysqldump>
DROP TABLE `"t"1`;
mysql-test/r/negation_elimination.result
View file @
de9d2465
...
@@ -55,7 +55,7 @@ a
...
@@ -55,7 +55,7 @@ a
10
10
explain select * from t1 where not(a = 10);
explain select * from t1 where not(a = 10);
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
index NULL a 5 NULL 21
Using where; Using index
1 SIMPLE t1
range a a 5 NULL 19
Using where; Using index
select * from t1 where not(a = 10);
select * from t1 where not(a = 10);
a
a
0
0
...
...
mysql-test/t/mysqlbinlog.test
View file @
de9d2465
...
@@ -100,4 +100,4 @@ select "--- --position --" as "";
...
@@ -100,4 +100,4 @@ select "--- --position --" as "";
--
exec
$MYSQL_BINLOG
--
short
-
form
--
local
-
load
=
$MYSQL_TEST_DIR
/
var
/
tmp
/
--
read
-
from
-
remote
-
server
--
position
=
27
--
user
=
root
--
host
=
127.0
.
0.1
--
port
=
$MASTER_MYPORT
master
-
bin
.
000002
--
exec
$MYSQL_BINLOG
--
short
-
form
--
local
-
load
=
$MYSQL_TEST_DIR
/
var
/
tmp
/
--
read
-
from
-
remote
-
server
--
position
=
27
--
user
=
root
--
host
=
127.0
.
0.1
--
port
=
$MASTER_MYPORT
master
-
bin
.
000002
# clean up
# clean up
drop
table
t1
;
drop
table
t1
,
t2
;
mysql-test/t/mysqldump.test
View file @
de9d2465
--
disable_warnings
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
DROP
TABLE
IF
EXISTS
t1
,
`"t"1`
;
--
enable_warnings
--
enable_warnings
# XML output
# XML output
...
@@ -13,7 +13,7 @@ DROP TABLE t1;
...
@@ -13,7 +13,7 @@ DROP TABLE t1;
# Bug #1707
# Bug #1707
#
#
CREATE
TABLE
`
t"1`
(
`a"b"c
"`
char
(
2
));
CREATE
TABLE
`
"t"1`
(
`a"b
"`
char
(
2
));
INSERT
INTO
`
t"1`
VALUES
(
"
\"
1"
),
(
"2
\"
"
);
INSERT
INTO
`
"t"1`
VALUES
(
"1
\"
"
),
(
"
\"
2
"
);
--
exec
$MYSQL_DUMP
--
skip
-
all
-
X
test
--
exec
$MYSQL_DUMP
--
skip
-
all
-
X
test
\
"t
\"
1
DROP
TABLE
`t"1`
;
DROP TABLE `
"
t
"1`;
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