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
62fb0221
Commit
62fb0221
authored
Nov 27, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust the result diffs for innodb.instant_alter
parent
447cd7b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
53 deletions
+53
-53
mysql-test/suite/innodb/r/instant_alter,4k.rdiff
mysql-test/suite/innodb/r/instant_alter,4k.rdiff
+26
-26
mysql-test/suite/innodb/r/instant_alter,8k.rdiff
mysql-test/suite/innodb/r/instant_alter,8k.rdiff
+27
-27
No files found.
mysql-test/suite/innodb/r/instant_alter,4k.rdiff
View file @
62fb0221
...
...
@@ -9,7 +9,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
191,7 +191
,7 @@
@@ -
250,7 +250
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -18,7 +18,7 @@
connection default;
BEGIN;
UPDATE t2 SET d1 = repeat(id, 200);
@@ -2
02,7 +202
,7 @@
@@ -2
61,7 +261
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -27,7 +27,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -2
12,7 +212
,7 @@
@@ -2
71,7 +271
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -36,7 +36,7 @@
connection default;
ALTER TABLE t2 DROP p;
affected rows: 0
@@ -3
17,7 +317
,7 @@
@@ -3
74,7 +374
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -45,7 +45,7 @@
connection default;
ALTER TABLE big ADD COLUMN
(d1 INT DEFAULT 0, d2 VARCHAR(20) DEFAULT 'abcde',
@@ -3
40,7 +340
,7 @@
@@ -3
97,7 +397
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -54,16 +54,16 @@
connection default;
ROLLBACK;
CHECKSUM TABLE big;
@@ -
353,7 +353
,7 @@
@@ -
410,7 +410
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
-3
+8
connection default;
DROP TABLE big;
CREATE TABLE t1
@@ -
532,7 +532
,7 @@
InnoDB 0 transactions not purged
DROP TABLE t1,t2,t3,big;
@@ -
600,7 +600
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -72,7 +72,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
542,7 +542
,7 @@
@@ -
610,7 +610
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -81,7 +81,7 @@
connection default;
BEGIN;
UPDATE t2 SET d1 = repeat(id, 200);
@@ -
553,7 +553
,7 @@
@@ -
621,7 +621
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -90,7 +90,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
563,7 +563
,7 @@
@@ -
631,7 +631
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -99,7 +99,7 @@
connection default;
ALTER TABLE t2 DROP p;
affected rows: 0
@@ -
668,7 +668
,7 @@
@@ -
734,7 +734
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -108,7 +108,7 @@
connection default;
ALTER TABLE big ADD COLUMN
(d1 INT DEFAULT 0, d2 VARCHAR(20) DEFAULT 'abcde',
@@ -
691,7 +691
,7 @@
@@ -
757,7 +757
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -117,16 +117,16 @@
connection default;
ROLLBACK;
CHECKSUM TABLE big;
@@ -7
04,7 +704
,7 @@
@@ -7
70,7 +770
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
-3
+7
connection default;
DROP TABLE big;
CREATE TABLE t1
@@ -
883,7 +883
,7 @@
InnoDB 0 transactions not purged
DROP TABLE t1,t2,t3,big;
@@ -
960,7 +960
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -135,7 +135,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
893,7 +893
,7 @@
@@ -
970,7 +970
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -144,7 +144,7 @@
connection default;
BEGIN;
UPDATE t2 SET d1 = repeat(id, 200);
@@ -9
04,7 +904
,7 @@
@@ -9
81,7 +981
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -153,7 +153,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -9
14,7 +914
,7 @@
@@ -9
91,7 +991
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -162,7 +162,7 @@
connection default;
ALTER TABLE t2 DROP p;
affected rows: 0
@@ -10
19,7 +1019
,7 @@
@@ -10
94,7 +1094
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -171,7 +171,7 @@
connection default;
ALTER TABLE big ADD COLUMN
(d1 INT DEFAULT 0, d2 VARCHAR(20) DEFAULT 'abcde',
@@ -1
042,7 +1042
,7 @@
@@ -1
117,7 +1117
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -180,12 +180,12 @@
connection default;
ROLLBACK;
CHECKSUM TABLE big;
@@ -1
055,7 +1055
,7 @@
@@ -1
130,7 +1130
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
-3
+7
connection default;
DROP TABLE big;
disconnect analyze
;
InnoDB 0 transactions not purged
DROP TABLE t1,t2,t3,big
;
mysql-test/suite/innodb/r/instant_alter,8k.rdiff
View file @
62fb0221
--- instant_alter.result
+++ instant_alter,8k.result
@@ -
181,7 +181
,7 @@
@@ -
240,7 +240
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -9,7 +9,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
191,7 +191
,7 @@
@@ -
250,7 +250
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -18,7 +18,7 @@
connection default;
BEGIN;
UPDATE t2 SET d1 = repeat(id, 200);
@@ -2
02,7 +202
,7 @@
@@ -2
61,7 +261
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -27,7 +27,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -2
12,7 +212
,7 @@
@@ -2
71,7 +271
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -36,7 +36,7 @@
connection default;
ALTER TABLE t2 DROP p;
affected rows: 0
@@ -3
17,7 +317
,7 @@
@@ -3
74,7 +374
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -45,7 +45,7 @@
connection default;
ALTER TABLE big ADD COLUMN
(d1 INT DEFAULT 0, d2 VARCHAR(20) DEFAULT 'abcde',
@@ -3
40,7 +340
,7 @@
@@ -3
97,7 +397
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -54,16 +54,16 @@
connection default;
ROLLBACK;
CHECKSUM TABLE big;
@@ -
353,7 +353
,7 @@
@@ -
410,7 +410
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
-3
+5
connection default;
DROP TABLE big;
CREATE TABLE t1
@@ -
532,7 +532
,7 @@
InnoDB 0 transactions not purged
DROP TABLE t1,t2,t3,big;
@@ -
600,7 +600
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -72,7 +72,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
542,7 +542
,7 @@
@@ -
610,7 +610
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -81,7 +81,7 @@
connection default;
BEGIN;
UPDATE t2 SET d1 = repeat(id, 200);
@@ -
553,7 +553
,7 @@
@@ -
621,7 +621
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -90,7 +90,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
563,7 +563
,7 @@
@@ -
631,7 +631
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -99,7 +99,7 @@
connection default;
ALTER TABLE t2 DROP p;
affected rows: 0
@@ -
668,7 +668
,7 @@
@@ -
734,7 +734
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -108,7 +108,7 @@
connection default;
ALTER TABLE big ADD COLUMN
(d1 INT DEFAULT 0, d2 VARCHAR(20) DEFAULT 'abcde',
@@ -
691,7 +691
,7 @@
@@ -
757,7 +757
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -117,16 +117,16 @@
connection default;
ROLLBACK;
CHECKSUM TABLE big;
@@ -7
04,7 +704
,7 @@
@@ -7
70,7 +770
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
-3
+5
connection default;
DROP TABLE big;
CREATE TABLE t1
@@ -
883,7 +883
,7 @@
InnoDB 0 transactions not purged
DROP TABLE t1,t2,t3,big;
@@ -
960,7 +960
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -135,7 +135,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -
893,7 +893
,7 @@
@@ -
970,7 +970
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -144,7 +144,7 @@
connection default;
BEGIN;
UPDATE t2 SET d1 = repeat(id, 200);
@@ -9
04,7 +904
,7 @@
@@ -9
81,7 +981
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -153,7 +153,7 @@
connection default;
ROLLBACK;
connection analyze;
@@ -9
14,7 +914
,7 @@
@@ -9
91,7 +991
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/t2';
clust_index_size
...
...
@@ -162,7 +162,7 @@
connection default;
ALTER TABLE t2 DROP p;
affected rows: 0
@@ -10
19,7 +1019
,7 @@
@@ -10
94,7 +1094
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -171,7 +171,7 @@
connection default;
ALTER TABLE big ADD COLUMN
(d1 INT DEFAULT 0, d2 VARCHAR(20) DEFAULT 'abcde',
@@ -1
042,7 +1042
,7 @@
@@ -1
117,7 +1117
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
...
...
@@ -180,12 +180,12 @@
connection default;
ROLLBACK;
CHECKSUM TABLE big;
@@ -1
055,7 +1055
,7 @@
@@ -1
130,7 +1130
,7 @@
SELECT clust_index_size FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS
WHERE name = 'test/big';
clust_index_size
-3
+5
connection default;
DROP TABLE big;
disconnect analyze
;
InnoDB 0 transactions not purged
DROP TABLE t1,t2,t3,big
;
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