Skip to content
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: support auto_increment option after engine define in ddl s… #561

Merged

Conversation

hustjieke
Copy link
Contributor

…tatement #559

[summary]
add a auto_increment option after engine, like: create table t(a int
auto_increment key) engine=innodb auto_increment=1.
[test case]
src/vendor/github.com/xelabs/go-mysqlstack/ddl_test.go
[patch codecov]
vendor/github.com/xelabs/go-mysqlstack/sqlparser 0.049s coverage: 87.6% of statements

@hustjieke hustjieke requested review from andyli029 and zhyass January 3, 2020 07:53
@codecov
Copy link

codecov bot commented Jan 3, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@d8f44ba). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             master   #561   +/-   ##
=======================================
  Coverage          ?    89%           
=======================================
  Files             ?    121           
  Lines             ?   9538           
  Branches          ?      0           
=======================================
  Hits              ?   8500           
  Misses            ?    693           
  Partials          ?    345

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8f44ba...5c61911. Read the comment docs.

@zhyass
Copy link
Contributor

zhyass commented Jan 3, 2020

LGTM

@hustjieke hustjieke force-pushed the feature_support_auto_after_engine_#559 branch from 31df63f to dcc73d0 Compare January 5, 2020 04:41
@hustjieke
Copy link
Contributor Author

push update: add instructions about AUTO_INCREMENT table_option in doc radon_sql_support.md.

@BohuTANG
Copy link
Contributor

BohuTANG commented Jan 6, 2020

Ping @andyli029

@andyli029 andyli029 closed this Jan 6, 2020
@andyli029 andyli029 reopened this Jan 6, 2020
Copy link
Contributor

@andyli029 andyli029 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve conflicts

…tatement radondb#559

[summary]
add a auto_increment option after engine, like: create table t(a int
auto_increment key) engine=innodb auto_increment=1.
[test case]
src/vendor/github.com/xelabs/go-mysqlstack/ddl_test.go
[patch codecov]
vendor/github.com/xelabs/go-mysqlstack/sqlparser	0.049s	coverage: 87.6% of statements
@hustjieke hustjieke force-pushed the feature_support_auto_after_engine_#559 branch from dcc73d0 to 5c61911 Compare January 6, 2020 08:38
@hustjieke
Copy link
Contributor Author

push update: refresh code to resolve conflict on sql.go.

@andyli029
Copy link
Contributor

LGTM

@BohuTANG BohuTANG merged commit a5942c6 into radondb:master Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants