-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlparser: add drop index "lock | algorithm option" #693 #697
sqlparser: add drop index "lock | algorithm option" #693 #697
Conversation
[summary] 1. Add drop index "lock | algorithm option". 2. Refactor lock_algorithm_option in create index. [test case] src/proxy/ddl_test.go src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ddl_test.go [patch codecov] src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.2% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast_funcs.go 95.4% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/sql.go 69.6%
Codecov Report
@@ Coverage Diff @@
## master #697 +/- ##
=====================================
- Coverage 89% 89% -1%
=====================================
Files 130 130
Lines 9279 9279
=====================================
- Hits 8269 8267 -2
- Misses 669 670 +1
- Partials 341 342 +1
Continue to review full report at Codecov.
|
Is there something wrong with the original code? If it is just to be consistent with the implementation of mysql, and the original implementation result is no problem, I think there is no need to modify it. |
e767925
to
c4de3c0
Compare
LGTM |
[summary]
[test case]
src/proxy/ddl_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ddl_test.go
[patch codecov]
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.2%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast_funcs.go 95.4%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/sql.go 69.6%