Skip to content

Commit e7ad0a3

Browse files
committed
diff/push: Support for tables using Percona Server column compression
This commit adds the ability to diff tables that use Percona Server 5.6.33+ column compression, with or without predefined dictionary.
1 parent 5e3a1e1 commit e7ad0a3

File tree

8 files changed

+35
-10
lines changed

8 files changed

+35
-10
lines changed

doc/requirements.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ Skeema can CREATE or DROP tables using these features, but cannot ALTER them. Th
9898
* sub-partitioning (two levels of partitioning in the same table)
9999
* some features of non-InnoDB storage engines
100100
* spatial indexes
101-
* column-level compression, with or without predefined dictionary (Percona Server 5.6.33+)
102101
* CHECK constraints (MySQL 8.0.16+ / Percona Server 8.0.16+ / MariaDB 10.2+)
103102

104103
You can still ALTER these tables externally from Skeema (e.g., direct invocation of `ALTER TABLE` or `pt-online-schema-change`). Afterwards, you can update your schema repo using `skeema pull`, which will work properly even on these tables.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/opencontainers/runc v1.0.0-rc5 // indirect
1313
github.com/sirupsen/logrus v1.4.2
1414
github.com/skeema/mybase v1.0.8
15-
github.com/skeema/tengo v0.9.2-0.20200213072835-ad11f1fd8273
15+
github.com/skeema/tengo v0.9.2
1616
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
1717
golang.org/x/lint v0.0.0-20190409202823-959b441ac422
1818
golang.org/x/sync v0.0.0-20190423024810-112230192c58

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4
7171
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
7272
github.com/skeema/mybase v1.0.8 h1:eqtxi5FfphYhosEEeHBsYf/9oXfwjCZ8fMnpGJ+AdxI=
7373
github.com/skeema/mybase v1.0.8/go.mod h1:09Uz3MIoXTNCUZWBeKDeO8SUHlQNjIEocXbc1DFvEKQ=
74-
github.com/skeema/tengo v0.9.2-0.20200213072835-ad11f1fd8273 h1:r1DFjo8S+GNXxJE2huc7IxLtHHMj3ZfvoBK4nEGoS9U=
75-
github.com/skeema/tengo v0.9.2-0.20200213072835-ad11f1fd8273/go.mod h1:2DO0zUSjb9iItFrxplI1khgsV0FCuohx6xLcTwDtRM4=
74+
github.com/skeema/tengo v0.9.2 h1:QeUCO/8NaWuXbVC8PCijdNEyAh0mBzwsp799vIFG7XA=
75+
github.com/skeema/tengo v0.9.2/go.mod h1:2DO0zUSjb9iItFrxplI1khgsV0FCuohx6xLcTwDtRM4=
7676
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
7777
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
7878
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=

skeema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ schema to the filesystem, and apply online schema changes by modifying files.`
1616

1717
// Globals overridden by GoReleaser's ldflags
1818
var (
19-
version = "1.4.1"
19+
version = "1.4.2"
2020
commit = "unknown"
2121
date = "unknown"
2222
)

vendor/github.com/skeema/tengo/README.md

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/skeema/tengo/column.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/skeema/tengo/instance.go

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ github.com/pmezard/go-difflib/difflib
7575
github.com/sirupsen/logrus
7676
# github.com/skeema/mybase v1.0.8
7777
github.com/skeema/mybase
78-
# github.com/skeema/tengo v0.9.2-0.20200213072835-ad11f1fd8273
78+
# github.com/skeema/tengo v0.9.2
7979
github.com/skeema/tengo
8080
# golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
8181
golang.org/x/crypto/ssh/terminal

0 commit comments

Comments
 (0)