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
158a2661
Commit
158a2661
authored
Sep 29, 2017
by
Alice Sherepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
innodb suite <innodb-alter
parent
e65c93a5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
12 deletions
+9
-12
mysql-test/suite/innodb/r/create-index.result
mysql-test/suite/innodb/r/create-index.result
+1
-1
mysql-test/suite/innodb/r/foreign_key.result
mysql-test/suite/innodb/r/foreign_key.result
+1
-1
mysql-test/suite/innodb/r/import_update_stats.result
mysql-test/suite/innodb/r/import_update_stats.result
+2
-2
mysql-test/suite/innodb/r/innodb-2byte-collation.result
mysql-test/suite/innodb/r/innodb-2byte-collation.result
+0
-0
mysql-test/suite/innodb/t/foreign_key.test
mysql-test/suite/innodb/t/foreign_key.test
+2
-1
mysql-test/suite/innodb/t/import_update_stats.test
mysql-test/suite/innodb/t/import_update_stats.test
+2
-2
mysql-test/suite/innodb/t/innodb-autoinc-master.opt
mysql-test/suite/innodb/t/innodb-autoinc-master.opt
+0
-3
mysql-test/suite/innodb/t/innodb-autoinc.test
mysql-test/suite/innodb/t/innodb-autoinc.test
+1
-2
No files found.
mysql-test/suite/innodb/r/create-index.result
View file @
158a2661
...
...
@@ -27,4 +27,4 @@ set debug_dbug="+d,disk_is_full";
ALTER TABLE t1 FORCE, ALGORITHM=INPLACE;
ERROR HY000: The table 't1' is full
set debug_dbug="-d,disk_is_full";
DROP TABLE t1;
\ No newline at end of file
DROP TABLE t1;
mysql-test/suite/innodb/r/foreign_key.result
View file @
158a2661
...
...
@@ -10,7 +10,7 @@ ERROR HY000: Can't create table `test`.`t2` (errno: 150 "Foreign key constraint
create table t2 (f1 int primary key,
constraint c1 foreign key (f1) references t1(f1)) engine=innodb;
alter table t2 add constraint c1 foreign key (f1) references t1(f1);
ERROR HY000: Can't create table `test`.`#sql-
2565_3
` (errno: 121 "Duplicate key on write or update")
ERROR HY000: Can't create table `test`.`#sql-
temporary
` (errno: 121 "Duplicate key on write or update")
set foreign_key_checks = 0;
alter table t2 add constraint c1 foreign key (f1) references t1(f1);
ERROR HY000: Duplicate foreign key constraint name 'test/c1'
...
...
mysql-test/suite/innodb/r/import_update_stats.result
View file @
158a2661
...
...
@@ -56,8 +56,8 @@ restore: t1 .ibd and .cfg files
ALTER TABLE t1 IMPORT TABLESPACE;
SHOW INDEXES FROM t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
t1 1 idx1 1 col_1 A
2
NULL NULL YES BTREE
t1 1 idx2 1 col_2 A
2
NULL NULL YES BTREE
t1 1 idx1 1 col_1 A
1
NULL NULL YES BTREE
t1 1 idx2 1 col_2 A
1
NULL NULL YES BTREE
ANALYZE TABLE t1;
Table Op Msg_type Msg_text
test.t1 analyze status OK
...
...
mysql-test/suite/innodb/r/innodb-2byte-collation.result
View file @
158a2661
No preview for this file type
mysql-test/suite/innodb/t/foreign_key.test
View file @
158a2661
...
...
@@ -13,11 +13,12 @@ constraint c1 foreign key (f1) references t1(f1)) engine=InnoDB;
create
table
t2
(
f1
int
primary
key
,
constraint
c1
foreign
key
(
f1
)
references
t1
(
f1
))
engine
=
innodb
;
--
replace_regex
/
#sql-[0-9a-f_]*
'/#sql-temporary'
/
--
replace_regex
/
#sql-[0-9a-f_]*
/#sql-temporary
/
--
error
ER_CANT_CREATE_TABLE
alter
table
t2
add
constraint
c1
foreign
key
(
f1
)
references
t1
(
f1
);
set
foreign_key_checks
=
0
;
--
replace_regex
/
#sql-[0-9a-f_]*/#sql-temporary/
--
error
ER_FK_DUP_NAME
alter
table
t2
add
constraint
c1
foreign
key
(
f1
)
references
t1
(
f1
);
...
...
mysql-test/suite/innodb/t/import_update_stats.test
View file @
158a2661
...
...
@@ -30,7 +30,7 @@ SHOW INDEXES FROM t1;
FLUSH
TABLES
t1
FOR
EXPORT
;
perl
;
do
'include/innodb-util.inc'
;
do
"
$ENV
{
MTR_SUITE_DIR
}
/include/innodb-util.pl"
;
ib_backup_tablespaces
(
"test"
,
"t1"
);
EOF
...
...
@@ -58,7 +58,7 @@ SHOW INDEXES FROM t1;
ALTER
TABLE
t1
DISCARD
TABLESPACE
;
perl
;
do
'include/innodb-util.inc'
;
do
"
$ENV
{
MTR_SUITE_DIR
}
/include/innodb-util.pl"
;
ib_discard_tablespaces
(
"test"
,
"t1"
);
ib_restore_tablespaces
(
"test"
,
"t1"
);
EOF
...
...
mysql-test/suite/innodb/t/innodb-autoinc-master.opt
deleted
100644 → 0
View file @
e65c93a5
--default-storage-engine=MyISAM
--innodb-strict-mode=0
--innodb-file-per-table=0
mysql-test/suite/innodb/t/innodb-autoinc.test
View file @
158a2661
...
...
@@ -674,7 +674,6 @@ SELECT * FROM t1;
ALTER
TABLE
t1
ENGINE
=
InnoDB
;
SELECT
*
FROM
t1
;
SHOW
CREATE
TABLE
t1
;
--
error
ER_AUTOINC_READ_FAILED
REPLACE
INTO
t1
(
c2
)
VALUES
(
0
);
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
...
...
@@ -683,7 +682,7 @@ DROP TABLE t1;
CREATE
TABLE
t1
(
c1
DOUBLE
NOT
NULL
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
10000000000000000000
;
SHOW
CREATE
TABLE
t1
;
--
error
1467
#
--error 1467
INSERT
INTO
t1
VALUES
();
DROP
TABLE
t1
;
...
...
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