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
96fa29cd
Commit
96fa29cd
authored
Oct 02, 2017
by
Alice Sherepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
innodb suite bug11766634, autoinc_reset
parent
3c388c3f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
19 deletions
+24
-19
mysql-test/suite/innodb/r/innodb-log-file-size3.result
mysql-test/suite/innodb/r/innodb-log-file-size3.result
+0
-0
mysql-test/suite/innodb/r/innodb_autoinc_reset.result
mysql-test/suite/innodb/r/innodb_autoinc_reset.result
+2
-2
mysql-test/suite/innodb/r/innodb_bug13635833.result
mysql-test/suite/innodb/r/innodb_bug13635833.result
+6
-6
mysql-test/suite/innodb/t/innodb-log-file-size.test
mysql-test/suite/innodb/t/innodb-log-file-size.test
+8
-3
mysql-test/suite/innodb/t/innodb_autoinc_reset.test
mysql-test/suite/innodb/t/innodb_autoinc_reset.test
+2
-2
mysql-test/suite/innodb/t/innodb_bug11766634-master.opt
mysql-test/suite/innodb/t/innodb_bug11766634-master.opt
+0
-1
mysql-test/suite/innodb/t/innodb_bug11766634.test
mysql-test/suite/innodb/t/innodb_bug11766634.test
+1
-1
mysql-test/suite/innodb/t/innodb_bug70867.test
mysql-test/suite/innodb/t/innodb_bug70867.test
+5
-4
No files found.
mysql-test/suite/innodb/r/innodb-log-file-size.result
→
mysql-test/suite/innodb/r/innodb-log-file-size
3
.result
View file @
96fa29cd
File moved
mysql-test/suite/innodb/r/innodb_autoinc_reset.result
View file @
96fa29cd
...
...
@@ -2,10 +2,10 @@ CREATE TABLE t1 (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100)
) ENGINE=InnoDB AUTO_INCREMENT=99;
SET
GLOBAL de
bug="+d,innodb_evict_autoinc_table";
SET
@@debug_d
bug="+d,innodb_evict_autoinc_table";
SET GLOBAL innodb_ft_aux_table="test/t1";
ERROR 42000: Variable 'innodb_ft_aux_table' can't be set to the value of 'test/t1'
SET
GLOBAL de
bug="-d,innodb_evict_autoinc_table";
SET
@@debug_d
bug="-d,innodb_evict_autoinc_table";
INSERT INTO t1(name) VALUES('mysql');
SELECT * FROM t1;
id name
...
...
mysql-test/suite/innodb/r/innodb_bug13635833.result
View file @
96fa29cd
...
...
@@ -8,14 +8,14 @@ insert into t3 values (20);
alter table t2 add constraint c1 foreign key (f1)
references t1(f1) on update cascade;
show create table t1;
Table
Create Table
t1
CREATE TABLE `t1` (
Table
Create Table
t1
CREATE TABLE `t1` (
`f1` int(11) DEFAULT NULL,
KEY `k1` (`f1`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
show create table t2;
Table
Create Table
t2
CREATE TABLE `t2` (
Table
Create Table
t2
CREATE TABLE `t2` (
`f1` int(11) DEFAULT NULL,
`f2` int(11) DEFAULT NULL,
KEY `f1` (`f1`),
...
...
@@ -23,8 +23,8 @@ t2 CREATE TABLE `t2` (
CONSTRAINT `c1` FOREIGN KEY (`f1`) REFERENCES `t1` (`f1`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1
show create table t3;
Table
Create Table
t3
CREATE TABLE `t3` (
Table
Create Table
t3
CREATE TABLE `t3` (
`f2` int(11) DEFAULT NULL,
KEY `f2` (`f2`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
...
...
mysql-test/suite/innodb/t/innodb-log-file-size.test
View file @
96fa29cd
...
...
@@ -21,7 +21,7 @@ call mtr.add_suppression("InnoDB: The log sequence numbers [0-9]+ and [0-9]+ in
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
SET
DEBUG
=
'+d,crash_commit_before'
;
SET
debug_dbug
=
'+d,crash_commit_before'
;
# Write file to make mysql-test-run.pl restart the server
--
exec
echo
"restart: --innodb-log-file-size=6M"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
--
error
2013
...
...
@@ -35,7 +35,7 @@ SELECT * FROM t1;
INSERT
INTO
t1
VALUES
(
42
);
SET
DEBUG
=
'+d,crash_commit_before'
;
SET
debug_dbug
=
'+d,crash_commit_before'
;
# Write file to make mysql-test-run.pl restart the server
--
exec
echo
"restart: --innodb-log-files-in-group=3 --innodb-log-file-size=5M"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
--
error
2013
...
...
@@ -54,7 +54,7 @@ let SEARCH_FILE= $MYSQLTEST_VARDIR/log/my_restart.err;
let
$args
=--
loose
-
console
--
default
-
storage
-
engine
=
innodb
>
$SEARCH_FILE
2
>&
1
;
let
crash
=
$args
--
innodb
-
force
-
recovery
-
crash
;
SET
DEBUG
=
'+d,crash_commit_before'
;
SET
debug_dbug
=
'+d,crash_commit_before'
;
# Write file to make mysql-test-run.pl restart the server
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
--
error
2013
...
...
@@ -97,6 +97,8 @@ let SEARCH_PATTERN= InnoDB: Recovery skipped, --innodb-read-only set!;
--
source
include
/
search_pattern_in_file
.
inc
let
SEARCH_PATTERN
=
InnoDB
:
Can
.
t
initiate
database
recovery
,
running
in
read
-
only
-
mode
;
--
source
include
/
search_pattern_in_file
.
inc
--
exec
cat
$SEARCH_FILE
--
remove_file
$SEARCH_FILE
--
echo
--
innodb
-
force
-
recovery
-
crash
=
4
...
...
@@ -106,7 +108,10 @@ let SEARCH_PATTERN= InnoDB: Starting an apply batch of log records;
--
source
include
/
search_pattern_in_file
.
inc
let
SEARCH_PATTERN
=
InnoDB
:
Resizing
redo
log
from
3
\
*
[
0
-
9
]
+
to
2
\
*
[
0
-
9
]
+
pages
;
--
source
include
/
search_pattern_in_file
.
inc
--
exec
cat
$SEARCH_FILE
--
remove_file
$SEARCH_FILE
--
echo
--
innodb
-
force
-
recovery
-
crash
=
5
--
error
7
--
exec
$MYSQLD_CMD
$crash
=
5
...
...
mysql-test/suite/innodb/t/innodb_autoinc_reset.test
View file @
96fa29cd
...
...
@@ -10,13 +10,13 @@ CREATE TABLE t1 (
name
VARCHAR
(
100
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
99
;
SET
GLOBAL
de
bug
=
"+d,innodb_evict_autoinc_table"
;
SET
@@
debug_d
bug
=
"+d,innodb_evict_autoinc_table"
;
# Evict t1 from dictionary cache
--
error
ER_WRONG_VALUE_FOR_VAR
SET
GLOBAL
innodb_ft_aux_table
=
"test/t1"
;
SET
GLOBAL
de
bug
=
"-d,innodb_evict_autoinc_table"
;
SET
@@
debug_d
bug
=
"-d,innodb_evict_autoinc_table"
;
INSERT
INTO
t1
(
name
)
VALUES
(
'mysql'
);
...
...
mysql-test/suite/innodb/t/innodb_bug11766634-master.opt
deleted
100644 → 0
View file @
3c388c3f
--force-restart
mysql-test/suite/innodb/t/innodb_bug11766634.test
View file @
96fa29cd
...
...
@@ -6,7 +6,7 @@
# drop table t1. create table t1. Insert the same set of $recs
# records. The size of ibdata1 must not increase.
#
--
source
include
/
restart_and_reinit
.
inc
#Want to skip this test from daily Valgrind execution.
--
source
include
/
no_valgrind_without_big
.
inc
# Adding big test option for this test.
...
...
mysql-test/suite/innodb/t/innodb_bug70867.test
View file @
96fa29cd
...
...
@@ -19,7 +19,7 @@
#
let
$MYSQL_DATA_DIR
=
`select @@datadir`
;
let
SEARCH_FILE
=
$MYSQLTEST_VARDIR
/
log
/
my_restart
.
err
;
let
$args
=
--
loose
-
console
>
$SEARCH_FILE
2
>&
1
;
let
$args
=--
loose
-
console
--
default
-
storage
-
engine
=
innodb
>
$SEARCH_FILE
2
>&
1
;
#-----------------------------------------------------------------------------
use
test
;
...
...
@@ -31,11 +31,12 @@ use test;
--
mkdir
$MYSQL_DATA_DIR
/
tmpdata
--
chmod
0400
$MYSQL_DATA_DIR
/
tmpdata
--
error
1
--
exec
$MYSQLD_CMD
--
innodb_data_home_dir
=
$MYSQL_DATA_DIR
/
tmpdata
$args
--
exec
$MYSQLD_CMD
$args
--
innodb_data_home_dir
=
$MYSQL_DATA_DIR
/
tmpdata
let
SEARCH_PATTERN
=
returned
OS
error
113
;
--
source
./
include
/
search_pattern
.
inc
--
source
include
/
search_pattern_in_file
.
inc
let
SEARCH_PATTERN
=
The
error
means
mysqld
does
not
have
the
access
rights
to
;
--
source
./
include
/
search_pattern
.
inc
--
source
include
/
search_pattern_in_file
.
inc
#--exec cat $SEARCH_FILE
#
--
remove_file
$SEARCH_FILE
--
chmod
0777
$MYSQL_DATA_DIR
/
tmpdata
...
...
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