-
-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the function of estimating the number of affected rows in dml (#644)
* Fix the function of estimating the number of affected rows in DML, upgrade sqlparser version (fix #638 )
- Loading branch information
1 parent
4169e9c
commit 68a28a7
Showing
12 changed files
with
426 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,133 @@ | ||
module github.com/hanchuanchuan/goInception | ||
|
||
go 1.14 | ||
go 1.22.1 | ||
|
||
replace gopkg.in/gcfg.v1 => github.com/hanchuanchuan/gcfg.v1 v0.0.0-20190302111942-77c0f3dcc0b3 | ||
|
||
replace vitess.io/vitess => github.com/vitessio/vitess v3.0.0-rc.3+incompatible | ||
// replace vitess.io/vitess => github.com/vitessio/vitess v3.0.0-rc.3+incompatible | ||
replace vitess.io/vitess => github.com/vitessio/vitess v0.19.1 | ||
|
||
replace google.golang.org/grpc => google.golang.org/grpc v1.29.1 | ||
|
||
replace github.com/codahale/hdrhistogram => github.com/HdrHistogram/hdrhistogram-go v1.1.2 | ||
|
||
// replace github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.9 | ||
|
||
replace github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.4.1-0.20191022112324-6ea7374bc1b0 | ||
|
||
// replace github.com/hanchuanchuan/gh-ost => ../gh-ost | ||
// replace go.etcd.io/etcd => github.com/etcd-io/etcd a4f7c65 | ||
// replace github.com/coreos/etcd => github.com/etcd-io/etcd a4f7c65 | ||
// replace go.etcd.io/etcd => github.com/etcd-io/etcd v0.5.0-alpha.5.0.20231122225832-2c8e2e933f77 | ||
|
||
// replace github.com/coreos/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20231122225832-2c8e2e933f77 | ||
// replace inet.af/netaddr => github.com/inetaf/netaddr | ||
// replace gopkg.in/DataDog/dd-trace-go.v1 => github.com/DataDog/datadog-go v0.0.0-2d091ec | ||
replace gopkg.in/DataDog/dd-trace-go.v1 => gopkg.in/DataDog/dd-trace-go.v1 v1.29.0-alpha.1.0.20210216140755-2d091eca40bb | ||
|
||
require ( | ||
github.com/BurntSushi/toml v0.3.1 | ||
github.com/BurntSushi/toml v1.3.2 | ||
github.com/CorgiMan/json2 v0.0.0-20150213135156-e72957aba209 | ||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect | ||
github.com/blacktear23/go-proxyprotocol v0.0.0-20171102103907-62e368e1c470 | ||
github.com/boltdb/bolt v1.3.1 // indirect | ||
github.com/coreos/bbolt v1.3.0 // indirect | ||
github.com/coreos/etcd v3.3.10+incompatible | ||
github.com/coreos/go-systemd v0.0.0-20181031085051-9002847aa142 // indirect | ||
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect | ||
github.com/cznic/golex v0.0.0-20181122101858-9c343928389c // indirect | ||
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect | ||
github.com/coreos/etcd v3.3.13+incompatible | ||
github.com/cznic/parser v0.0.0-20181122101858-d773202d5b1f | ||
github.com/cznic/sortutil v0.0.0-20150617083342-4c7342852e65 | ||
github.com/cznic/strutil v0.0.0-20181122101858-275e90344537 | ||
github.com/cznic/y v0.0.0-20181122101901-b05e8c2e8d7b | ||
github.com/denisenkom/go-mssqldb v0.0.0-20190121005146-b04fd42d9952 // indirect | ||
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect | ||
github.com/dustin/go-humanize v1.0.0 // indirect | ||
github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385 // indirect | ||
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 // indirect | ||
github.com/etcd-io/gofail v0.0.0-20180808172546-51ce9a71510a // indirect | ||
github.com/ghodss/yaml v1.0.0 // indirect | ||
github.com/go-sql-driver/mysql v1.4.1 | ||
github.com/gofrs/uuid v3.2.0+incompatible | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20181024230925-c65c006176ff // indirect | ||
github.com/golang/protobuf v1.3.1 | ||
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect | ||
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c | ||
github.com/google/go-cmp v0.2.0 // indirect | ||
github.com/gorilla/context v1.1.1 // indirect | ||
github.com/gorilla/mux v1.6.2 | ||
github.com/gorilla/websocket v1.4.0 // indirect | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 // indirect | ||
github.com/go-sql-driver/mysql v1.7.1 | ||
github.com/gofrs/uuid v4.4.0+incompatible | ||
github.com/golang/protobuf v1.5.4 | ||
github.com/google/btree v1.0.1 | ||
github.com/gorilla/mux v1.8.1 | ||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 | ||
github.com/grpc-ecosystem/grpc-gateway v1.5.1 // indirect | ||
github.com/hanchuanchuan/gh-ost v1.0.49-0.20210117111015-ca873c0b5ca6 | ||
github.com/hanchuanchuan/go-mysql v0.0.0-20200114082439-6d0d8d3a982e | ||
github.com/imroc/req v0.2.3 | ||
github.com/jinzhu/copier v0.3.5 | ||
github.com/jinzhu/gorm v1.9.2 | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v0.0.0-20181116074157-8ec929ed50c3 // indirect | ||
github.com/jonboulle/clockwork v0.1.0 // indirect | ||
github.com/jinzhu/gorm v1.9.16 | ||
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 | ||
github.com/juju/loggo v0.0.0-20180524022052-584905176618 // indirect | ||
github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073 // indirect | ||
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5 | ||
github.com/mattn/go-sqlite3 v1.10.0 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/montanaflynn/stats v0.0.0-20180911141734-db72e6cae808 // indirect | ||
github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7 | ||
github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef | ||
github.com/onsi/ginkgo v1.7.0 // indirect | ||
github.com/onsi/gomega v1.4.3 // indirect | ||
github.com/opentracing/opentracing-go v1.1.0 // indirect | ||
github.com/percona/go-mysql v0.0.0-20190307200310-f5cfaf6a5e55 | ||
github.com/pingcap/check v0.0.0-20190102082844-67f458068fc8 | ||
github.com/pingcap/errors v0.11.0 | ||
github.com/pingcap/goleveldb v0.0.0-20171020122428-b9ff6c35079e | ||
github.com/pingcap/kvproto v0.0.0-20181206061346-54cf0a0dfe55 | ||
github.com/pingcap/pd v2.1.0+incompatible | ||
github.com/pingcap/tipb v0.0.0-20190428032612-535e1abaa330 | ||
github.com/pkg/errors v0.9.0 // indirect | ||
github.com/prometheus/client_golang v0.9.0 // indirect | ||
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 // indirect | ||
github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39 // indirect | ||
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d // indirect | ||
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 | ||
github.com/siddontang/go-log v0.0.0-20180807004314-8d05993dda07 | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/soheilhy/cmux v0.1.4 // indirect | ||
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 | ||
github.com/spf13/viper v1.3.1 | ||
github.com/stretchr/testify v1.4.0 // indirect | ||
github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6 // indirect | ||
github.com/unrolled/render v0.0.0-20180914162206-b9786414de4d // indirect | ||
github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18 // indirect | ||
go.uber.org/multierr v1.5.0 // indirect | ||
go.uber.org/zap v1.9.1 // indirect | ||
golang.org/x/net v0.0.0-20201021035429-f5854403a974 | ||
golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b // indirect | ||
golang.org/x/text v0.3.3 | ||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c // indirect | ||
google.golang.org/grpc v1.16.0 | ||
gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/spaolacci/murmur3 v1.1.0 | ||
github.com/spf13/viper v1.18.2 | ||
golang.org/x/net v0.23.0 | ||
golang.org/x/text v0.14.0 | ||
google.golang.org/grpc v1.62.1 | ||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 | ||
modernc.org/mathutil v1.4.1 | ||
modernc.org/mathutil v1.6.0 | ||
vitess.io/vitess v2.1.1+incompatible | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/coreos/bbolt v1.3.2 // indirect | ||
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e // indirect | ||
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect | ||
github.com/cznic/golex v0.0.0-20181122101858-9c343928389c // indirect | ||
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect | ||
github.com/denisenkom/go-mssqldb v0.11.0 // indirect | ||
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect | ||
github.com/etcd-io/gofail v0.0.0-20180808172546-51ce9a71510a // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/ghodss/yaml v1.0.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect | ||
github.com/golang/glog v1.2.0 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/gorilla/websocket v1.5.0 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect | ||
github.com/hanchuanchuan/golib v0.0.0-20200113085747-47643bc243f1 // indirect | ||
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v1.1.5 // indirect | ||
github.com/jonboulle/clockwork v0.2.2 // indirect | ||
github.com/juju/loggo v0.0.0-20180524022052-584905176618 // indirect | ||
github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073 // indirect | ||
github.com/lib/pq v1.10.2 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/mattn/go-sqlite3 v1.14.16 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/nxadm/tail v1.4.8 // indirect | ||
github.com/onsi/gomega v1.24.2 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/outbrain/golib v0.0.0-20180830062331-ab954725f502 // indirect | ||
github.com/pelletier/go-toml/v2 v2.1.1 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.19.0 // indirect | ||
github.com/prometheus/client_model v0.6.0 // indirect | ||
github.com/prometheus/common v0.49.0 // indirect | ||
github.com/prometheus/procfs v0.12.0 // indirect | ||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/satori/go.uuid v1.2.0 // indirect | ||
github.com/siddontang/go v0.0.0-20180604090527-bdc77568d726 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 // indirect | ||
github.com/unrolled/render v0.0.0-20180914162206-b9786414de4d // indirect | ||
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect | ||
golang.org/x/sys v0.18.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240304212257-790db918fca8 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
gopkg.in/gcfg.v1 v1.2.3 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.