Skip to content

Commit 1950074

Browse files
committed
MySQL 8: Fix potential panic with FULLTEXT indexes
In MySQL 8 and Percona Server 8, tables containing 2 or more secondary indexes could trigger a panic if at least one of the secondary indexes was FULLTEXT. This was caused by a regular expression that was not updated properly when FULLTEXT support was introduced last month in v1.3.0. Fixes skeema#106.
1 parent f85849e commit 1950074

File tree

5 files changed

+24
-23
lines changed

5 files changed

+24
-23
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/opencontainers/selinux v1.3.0 // indirect
1818
github.com/sirupsen/logrus v1.4.2
1919
github.com/skeema/mybase v1.0.8
20-
github.com/skeema/tengo v0.8.19-0.20191008200715-c840b0ecb8a2
20+
github.com/skeema/tengo v0.8.19
2121
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
2222
golang.org/x/lint v0.0.0-20190409202823-959b441ac422
2323
golang.org/x/sync v0.0.0-20190423024810-112230192c58

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4
6161
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
6262
github.com/skeema/mybase v1.0.8 h1:eqtxi5FfphYhosEEeHBsYf/9oXfwjCZ8fMnpGJ+AdxI=
6363
github.com/skeema/mybase v1.0.8/go.mod h1:09Uz3MIoXTNCUZWBeKDeO8SUHlQNjIEocXbc1DFvEKQ=
64-
github.com/skeema/tengo v0.8.18 h1:+w86N5HxvvULTLeQlgRmzjgYYamxklytpU/jnxMfPr8=
65-
github.com/skeema/tengo v0.8.18/go.mod h1:iz608OkLZGwQUFMwivJCldvM4sxk57p5nt9UCWyJwO0=
66-
github.com/skeema/tengo v0.8.19-0.20191008200715-c840b0ecb8a2 h1:rLI7qp4nehKQivZWrEEdkZMOnh+vOp61X8zjqRA3aa0=
67-
github.com/skeema/tengo v0.8.19-0.20191008200715-c840b0ecb8a2/go.mod h1:iz608OkLZGwQUFMwivJCldvM4sxk57p5nt9UCWyJwO0=
64+
github.com/skeema/tengo v0.8.19 h1:I37mcTpdR3X7mGRrxfEkm5lpGsoIe7zqqxDBqjZ6yY0=
65+
github.com/skeema/tengo v0.8.19/go.mod h1:iz608OkLZGwQUFMwivJCldvM4sxk57p5nt9UCWyJwO0=
6866
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
6967
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
7068
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=

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.3.0-dev"
19+
version = "1.3.1-dev"
2020
commit = "unknown"
2121
date = "unknown"
2222
)

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

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
2-
github.com/Azure/go-ansiterm/winterm
32
github.com/Azure/go-ansiterm
3+
github.com/Azure/go-ansiterm/winterm
44
# github.com/Microsoft/go-winio v0.4.7
55
github.com/Microsoft/go-winio
66
# github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5
@@ -13,31 +13,31 @@ github.com/alecthomas/participle/lexer
1313
# github.com/containerd/continuity v0.0.0-20180612233548-246e49050efd
1414
github.com/containerd/continuity/pathdriver
1515
# github.com/docker/docker v0.0.0-20180412203414-a422774e593b
16+
github.com/docker/docker/api/types
17+
github.com/docker/docker/api/types/blkiodev
18+
github.com/docker/docker/api/types/container
19+
github.com/docker/docker/api/types/filters
20+
github.com/docker/docker/api/types/mount
21+
github.com/docker/docker/api/types/network
1622
github.com/docker/docker/api/types/registry
23+
github.com/docker/docker/api/types/strslice
1724
github.com/docker/docker/api/types/swarm
25+
github.com/docker/docker/api/types/swarm/runtime
26+
github.com/docker/docker/api/types/versions
1827
github.com/docker/docker/opts
1928
github.com/docker/docker/pkg/archive
2029
github.com/docker/docker/pkg/fileutils
2130
github.com/docker/docker/pkg/homedir
22-
github.com/docker/docker/pkg/jsonmessage
23-
github.com/docker/docker/pkg/stdcopy
24-
github.com/docker/docker/api/types/container
25-
github.com/docker/docker/api/types/mount
26-
github.com/docker/docker/api/types/network
27-
github.com/docker/docker/api/types/swarm/runtime
28-
github.com/docker/docker/api/types
2931
github.com/docker/docker/pkg/idtools
3032
github.com/docker/docker/pkg/ioutils
33+
github.com/docker/docker/pkg/jsonmessage
3134
github.com/docker/docker/pkg/longpath
35+
github.com/docker/docker/pkg/mount
3236
github.com/docker/docker/pkg/pools
37+
github.com/docker/docker/pkg/stdcopy
3338
github.com/docker/docker/pkg/system
3439
github.com/docker/docker/pkg/term
35-
github.com/docker/docker/api/types/blkiodev
36-
github.com/docker/docker/api/types/strslice
37-
github.com/docker/docker/api/types/filters
38-
github.com/docker/docker/pkg/mount
3940
github.com/docker/docker/pkg/term/windows
40-
github.com/docker/docker/api/types/versions
4141
# github.com/docker/go-connections v0.3.0
4242
github.com/docker/go-connections/nat
4343
# github.com/docker/go-units v0.3.3
@@ -62,8 +62,8 @@ github.com/nozzle/throttler
6262
# github.com/opencontainers/go-digest v1.0.0-rc1
6363
github.com/opencontainers/go-digest
6464
# github.com/opencontainers/image-spec v1.0.1
65-
github.com/opencontainers/image-spec/specs-go/v1
6665
github.com/opencontainers/image-spec/specs-go
66+
github.com/opencontainers/image-spec/specs-go/v1
6767
# github.com/opencontainers/runc v1.0.0-rc5
6868
github.com/opencontainers/runc/libcontainer/system
6969
github.com/opencontainers/runc/libcontainer/user
@@ -75,13 +75,13 @@ 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.8.19-0.20191008200715-c840b0ecb8a2
78+
# github.com/skeema/tengo v0.8.19
7979
github.com/skeema/tengo
8080
# golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
8181
golang.org/x/crypto/ssh/terminal
8282
# golang.org/x/lint v0.0.0-20190409202823-959b441ac422
83-
golang.org/x/lint/golint
8483
golang.org/x/lint
84+
golang.org/x/lint/golint
8585
# golang.org/x/net v0.0.0-20190620200207-3b0461eec859
8686
golang.org/x/net/context
8787
# golang.org/x/sync v0.0.0-20190423024810-112230192c58

0 commit comments

Comments
 (0)