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
9fe46901
Commit
9fe46901
authored
Sep 23, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not test non-instant ADD COLUMN for ROW_FORMAT=COMPRESSED
parent
47988df7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
53 deletions
+10
-53
mysql-test/suite/innodb/r/instant_alter,32k.rdiff
mysql-test/suite/innodb/r/instant_alter,32k.rdiff
+0
-24
mysql-test/suite/innodb/r/instant_alter,64k.rdiff
mysql-test/suite/innodb/r/instant_alter,64k.rdiff
+0
-24
mysql-test/suite/innodb/r/instant_alter.result
mysql-test/suite/innodb/r/instant_alter.result
+0
-0
mysql-test/suite/innodb/t/instant_alter.test
mysql-test/suite/innodb/t/instant_alter.test
+10
-5
No files found.
mysql-test/suite/innodb/r/instant_alter,32k.rdiff
deleted
100644 → 0
View file @
47988df7
846c846
< SPATIAL INDEX(c3)) ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> SPATIAL INDEX(c3)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
950c950
< ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED
---
> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
972c972
< ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED
---
> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
988c988
< ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
1015c1015
< ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
1086c1086
< ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
mysql-test/suite/innodb/r/instant_alter,64k.rdiff
deleted
100644 → 0
View file @
47988df7
846c846
< SPATIAL INDEX(c3)) ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> SPATIAL INDEX(c3)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
950c950
< ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED
---
> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
972c972
< ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED
---
> ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
988c988
< ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
1015c1015
< ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
1086c1086
< ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
---
> ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
mysql-test/suite/innodb/r/instant_alter.result
View file @
9fe46901
No preview for this file type
mysql-test/suite/innodb/t/instant_alter.test
View file @
9fe46901
...
...
@@ -4,16 +4,21 @@
--
echo
# MDEV-11369: Instant ADD COLUMN for InnoDB
--
echo
#
# FIXME: Test that instant ADD is not allowed on ROW_FORMAT=COMPRESSED
# (create a table with SPATIAL INDEX, ROW_FORMAT=COMPACT, and
# show that ALTER TABLE…ADD COLUMN…LOCK=NONE is refused.
# This does not work yet for any table, because
# check_if_supported_inplace_alter()
# does not check if instant ADD is possible.)
SET
timestamp
=
42
;
SET
time_zone
=
'+03:00'
;
let
$format
=
4
;
let
$format
=
3
;
while
(
$format
)
{
let
$engine
=
`SELECT CONCAT('ENGINE=InnoDB ROW_FORMAT=',CASE $format
WHEN 1 THEN CASE WHEN @@GLOBAL.innodb_page_size>16384
THEN 'DYNAMIC' ELSE 'COMPRESSED' END
WHEN 2 THEN 'DYNAMIC'
WHEN 3 THEN 'COMPACT'
WHEN 1 THEN 'DYNAMIC'
WHEN 2 THEN 'COMPACT'
ELSE 'REDUNDANT' END)`
;
eval
CREATE
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