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
c8ee83ee
Commit
c8ee83ee
authored
May 08, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge test case fixes
parent
99027efd
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
128 additions
and
3 deletions
+128
-3
mysql-test/include/have_innodb.combinations
mysql-test/include/have_innodb.combinations
+3
-0
mysql-test/r/innodb_mysql_sync.result
mysql-test/r/innodb_mysql_sync.result
+1
-1
mysql-test/r/mysqld--help.result
mysql-test/r/mysqld--help.result
+1
-1
mysql-test/suite/sys_vars/r/innodb_fil_make_page_dirty_debug_basic.result
.../sys_vars/r/innodb_fil_make_page_dirty_debug_basic.result
+26
-0
mysql-test/suite/sys_vars/r/innodb_saved_page_number_debug_basic.result
...te/sys_vars/r/innodb_saved_page_number_debug_basic.result
+26
-0
mysql-test/suite/sys_vars/t/innodb_fil_make_page_dirty_debug_basic.test
...te/sys_vars/t/innodb_fil_make_page_dirty_debug_basic.test
+34
-0
mysql-test/suite/sys_vars/t/innodb_saved_page_number_debug_basic.test
...uite/sys_vars/t/innodb_saved_page_number_debug_basic.test
+35
-0
mysql-test/t/innodb_mysql_sync.test
mysql-test/t/innodb_mysql_sync.test
+2
-1
No files found.
mysql-test/include/have_innodb.combinations
View file @
c8ee83ee
...
...
@@ -9,6 +9,7 @@ innodb-buffer-page
innodb-buffer-page-lru
innodb-sys-foreign
innodb-sys-foreign-col
innodb-sys-tables
innodb-metrics
[xtradb_plugin]
...
...
@@ -22,6 +23,7 @@ innodb-buffer-page
innodb-buffer-page-lru
innodb-sys-foreign
innodb-sys-foreign-col
innodb-sys-tables
innodb-metrics
[xtradb]
...
...
@@ -34,4 +36,5 @@ innodb-buffer-page
innodb-buffer-page-lru
innodb-sys-foreign
innodb-sys-foreign-col
innodb-sys-tables
innodb-metrics
mysql-test/r/innodb_mysql_sync.result
View file @
c8ee83ee
...
...
@@ -413,7 +413,7 @@ DROP TABLE t1;
SET DEBUG_SYNC= 'RESET';
#ALTER TABLE FORCE and ALTER TABLE ENGINE uses online rebuild
#of the table.
CREATE TABLE t1(fld1 INT, fld2 INT);
CREATE TABLE t1(fld1 INT, fld2 INT)
ENGINE=INNODB
;
INSERT INTO t1 VALUES(10, 20);
ALTER TABLE t1 FORCE;
affected rows: 0
...
...
mysql-test/r/mysqld--help.result
View file @
c8ee83ee
...
...
@@ -1244,7 +1244,7 @@ performance-schema-max-rwlock-instances 1724
performance-schema-max-socket-classes 10
performance-schema-max-socket-instances 179
performance-schema-max-stage-classes 150
performance-schema-max-statement-classes 1
79
performance-schema-max-statement-classes 1
80
performance-schema-max-table-handles 445
performance-schema-max-table-instances 445
performance-schema-max-thread-classes 50
...
...
mysql-test/suite/sys_vars/r/innodb_fil_make_page_dirty_debug_basic.result
0 → 100644
View file @
c8ee83ee
#
# Basic test for innodb_fil_make_page_dirty_debug.
#
SELECT @@global.innodb_fil_make_page_dirty_debug;
@@global.innodb_fil_make_page_dirty_debug
0
set global innodb_fil_make_page_dirty_debug = 0;
SELECT @@global.innodb_fil_make_page_dirty_debug;
@@global.innodb_fil_make_page_dirty_debug
0
set global innodb_fil_make_page_dirty_debug = 0;
set global innodb_fil_make_page_dirty_debug = dummy;
ERROR 42000: Incorrect argument type to variable 'innodb_fil_make_page_dirty_debug'
set innodb_fil_make_page_dirty_debug = ON;
ERROR HY000: Variable 'innodb_fil_make_page_dirty_debug' is a GLOBAL variable and should be set with SET GLOBAL
# An example usage.
create table t1 (f1 int primary key) engine = innodb;
select space from information_schema.innodb_sys_tables
where name = 'test/t1' into @space_id;
set global innodb_saved_page_number_debug = 0;
set global innodb_fil_make_page_dirty_debug = @space_id;
drop table t1;
# Must always be 0.
SELECT @@global.innodb_fil_make_page_dirty_debug;
@@global.innodb_fil_make_page_dirty_debug
0
mysql-test/suite/sys_vars/r/innodb_saved_page_number_debug_basic.result
0 → 100644
View file @
c8ee83ee
#
# Basic test for innodb_saved_page_number_debug.
#
SELECT @@global.innodb_saved_page_number_debug;
@@global.innodb_saved_page_number_debug
0
set global innodb_saved_page_number_debug = 10;
SELECT @@global.innodb_saved_page_number_debug;
@@global.innodb_saved_page_number_debug
10
set global innodb_saved_page_number_debug = 100;
set global innodb_saved_page_number_debug = dummy;
ERROR 42000: Incorrect argument type to variable 'innodb_saved_page_number_debug'
set innodb_saved_page_number_debug = ON;
ERROR HY000: Variable 'innodb_saved_page_number_debug' is a GLOBAL variable and should be set with SET GLOBAL
# An example usage.
create table t1 (f1 int primary key) engine = innodb;
select space from information_schema.innodb_sys_tables
where name = 'test/t1' into @space_id;
set global innodb_saved_page_number_debug = 0;
set global innodb_fil_make_page_dirty_debug = @space_id;
drop table t1;
set global innodb_saved_page_number_debug = 0;
SELECT @@global.innodb_saved_page_number_debug;
@@global.innodb_saved_page_number_debug
0
mysql-test/suite/sys_vars/t/innodb_fil_make_page_dirty_debug_basic.test
0 → 100644
View file @
c8ee83ee
--
echo
#
--
echo
# Basic test for innodb_fil_make_page_dirty_debug.
--
echo
#
--
source
include
/
have_innodb
.
inc
# The config variable is a debug variable
--
source
include
/
have_debug
.
inc
SELECT
@@
global
.
innodb_fil_make_page_dirty_debug
;
set
global
innodb_fil_make_page_dirty_debug
=
0
;
SELECT
@@
global
.
innodb_fil_make_page_dirty_debug
;
set
global
innodb_fil_make_page_dirty_debug
=
0
;
--
error
ER_WRONG_TYPE_FOR_VAR
set
global
innodb_fil_make_page_dirty_debug
=
dummy
;
--
error
ER_GLOBAL_VARIABLE
set
innodb_fil_make_page_dirty_debug
=
ON
;
--
echo
# An example usage.
create
table
t1
(
f1
int
primary
key
)
engine
=
innodb
;
select
space
from
information_schema
.
innodb_sys_tables
where
name
=
'test/t1'
into
@
space_id
;
set
global
innodb_saved_page_number_debug
=
0
;
set
global
innodb_fil_make_page_dirty_debug
=
@
space_id
;
drop
table
t1
;
--
echo
# Must always be 0.
SELECT
@@
global
.
innodb_fil_make_page_dirty_debug
;
mysql-test/suite/sys_vars/t/innodb_saved_page_number_debug_basic.test
0 → 100644
View file @
c8ee83ee
--
echo
#
--
echo
# Basic test for innodb_saved_page_number_debug.
--
echo
#
--
source
include
/
have_innodb
.
inc
# The config variable is a debug variable
--
source
include
/
have_debug
.
inc
SELECT
@@
global
.
innodb_saved_page_number_debug
;
set
global
innodb_saved_page_number_debug
=
10
;
SELECT
@@
global
.
innodb_saved_page_number_debug
;
set
global
innodb_saved_page_number_debug
=
100
;
--
error
ER_WRONG_TYPE_FOR_VAR
set
global
innodb_saved_page_number_debug
=
dummy
;
--
error
ER_GLOBAL_VARIABLE
set
innodb_saved_page_number_debug
=
ON
;
--
echo
# An example usage.
create
table
t1
(
f1
int
primary
key
)
engine
=
innodb
;
select
space
from
information_schema
.
innodb_sys_tables
where
name
=
'test/t1'
into
@
space_id
;
set
global
innodb_saved_page_number_debug
=
0
;
set
global
innodb_fil_make_page_dirty_debug
=
@
space_id
;
drop
table
t1
;
set
global
innodb_saved_page_number_debug
=
0
;
SELECT
@@
global
.
innodb_saved_page_number_debug
;
mysql-test/t/innodb_mysql_sync.test
View file @
c8ee83ee
...
...
@@ -2,6 +2,7 @@
# Test file for InnoDB tests that require the debug sync facility
#
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_partition
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug_sync
.
inc
# Save the initial number of concurrent sessions.
...
...
@@ -652,7 +653,7 @@ SET DEBUG_SYNC= 'RESET';
--
echo
#ALTER TABLE FORCE and ALTER TABLE ENGINE uses online rebuild
--
echo
#of the table.
CREATE
TABLE
t1
(
fld1
INT
,
fld2
INT
);
CREATE
TABLE
t1
(
fld1
INT
,
fld2
INT
)
ENGINE
=
INNODB
;
INSERT
INTO
t1
VALUES
(
10
,
20
);
--
enable_info
...
...
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