You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vttestserver logs a warning ("ignored error") when issuing a CREATE TABLE statement when PRIMARY KEY precedes AUTO_INCREMENT:
W0125 21:31:36.388462 708 parser.go:90] ignoring error parsing DDL 'CREATE TABLE pkai (id INT PRIMARY KEY AUTO_INCREMENT)': syntax error at position 53 near 'AUTO_INCREMENT'
This was found while testing the Diesel ORM in Rust
Reproduction Steps
CREATETABLEpkai (id INTPRIMARY KEY AUTO_INCREMENT); -- This prints a warningCREATETABLEaipk (id INT AUTO_INCREMENT PRIMARY KEY); -- This does not print a warning
Binary version
Using vttestserver, which doesn't support -version, but here's output from vtcombo in the same container:
$ /vt/bin/vtcombo -version
ERROR: logging before flag.Parse: E0125 18:43:12.741403 754 syslogger.go:149] can't connect to syslog
Version: acb3b4e1d (Git branch 'master') built on Mon Jan 25 16:57:11 UTC 2021 by vitess@6c41847a305c using go1.15.6 linux/amd64
Overview of the Issue
vttestserver
logs a warning ("ignored error") when issuing aCREATE TABLE
statement whenPRIMARY KEY
precedesAUTO_INCREMENT
:This was found while testing the Diesel ORM in Rust
Reproduction Steps
Binary version
Using
vttestserver
, which doesn't support-version
, but here's output fromvtcombo
in the same container:Operating system and Environment details
Inside the
vttestserver
container:Log Fragments
The text was updated successfully, but these errors were encountered: