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
53784ff2
Commit
53784ff2
authored
Jan 20, 2006
by
jmiller@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated test
parent
f07a80f7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
19 deletions
+4
-19
mysql-test/extra/rpl_tests/rpl_foreign_key.test
mysql-test/extra/rpl_tests/rpl_foreign_key.test
+1
-1
mysql-test/include/not_ndb_table.inc
mysql-test/include/not_ndb_table.inc
+0
-10
mysql-test/r/not_ndb_table.require
mysql-test/r/not_ndb_table.require
+0
-2
mysql-test/r/rpl_foreign_key_innodb.result
mysql-test/r/rpl_foreign_key_innodb.result
+2
-2
mysql-test/t/rpl_foreign_key_innodb.test
mysql-test/t/rpl_foreign_key_innodb.test
+0
-1
mysql-test/t/rpl_optimize.test
mysql-test/t/rpl_optimize.test
+1
-3
No files found.
mysql-test/extra/rpl_tests/rpl_foreign_key.test
View file @
53784ff2
...
...
@@ -21,7 +21,7 @@ connection master;
SET
TIMESTAMP
=
1000000000
;
CREATE
TABLE
t3
(
a
INT
UNIQUE
);
SET
FOREIGN_KEY_CHECKS
=
0
;
--
error
1062
--
error
10
22
,
10
62
INSERT
INTO
t3
VALUES
(
1
),(
1
);
sync_slave_with_master
;
...
...
mysql-test/include/not_ndb_table.inc
deleted
100644 → 0
View file @
f07a80f7
#######################
# Author: JBM
# Date: 2006-01-17
# Purpose: To skip a test when default-storage-engine=ndb
#######################
--
require
r
/
not_ndb_table
.
require
disable_query_log
;
show
variables
like
"table_type"
;
enable_query_log
;
mysql-test/r/not_ndb_table.require
deleted
100644 → 0
View file @
f07a80f7
Variable_name Value
table_type MyISAM
mysql-test/r/rpl_foreign_key_innodb.result
View file @
53784ff2
...
...
@@ -24,9 +24,9 @@ b c
6 11
SELECT * FROM t1;
a
12
10
11
12
13
SELECT * FROM t2;
b c
...
...
@@ -36,7 +36,7 @@ SET TIMESTAMP=1000000000;
CREATE TABLE t3 ( a INT UNIQUE );
SET FOREIGN_KEY_CHECKS=0;
INSERT INTO t3 VALUES (1),(1);
ERROR 23000: Duplicate entry '1' for key 1
Got one of the listed errors
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS t1,t2,t3;
SET FOREIGN_KEY_CHECKS=1;
mysql-test/t/rpl_foreign_key_innodb.test
View file @
53784ff2
...
...
@@ -5,7 +5,6 @@
# Change Date: 2006-01-17
# Change: FK not supported, skip test when NDB is forced
####################################
--
source
include
/
not_ndb_table
.
inc
--
source
include
/
have_innodb
.
inc
let
$engine_type
=
INNODB
;
--
source
extra
/
rpl_tests
/
rpl_foreign_key
.
test
mysql-test/t/rpl_optimize.test
View file @
53784ff2
...
...
@@ -4,10 +4,8 @@
#####################################
# Change Author: JBM
# Change Date: 2006-01-17
# Change:
Skip test when default table = ndb
# Change:
#####################################
--
source
include
/
not_ndb_table
.
inc
--
source
include
/
master
-
slave
.
inc
create
table
t1
(
a
int
not
null
auto_increment
primary
key
,
b
int
,
key
(
b
));
...
...
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