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
Discovered while looking at mysqldump's default output, which contains a couple things that currently cause syntax errors.
A mysqldump file consists of SQL statements that create tables and insert rows into them. By default it places LOCK TABLES and UNLOCK TABLES statements around its inserts, but currently these are not handled by the parser.
The text was updated successfully, but these errors were encountered:
I added LOCK and UNLOCK to upstream vitess last month, so this can probably close since that'll filter down here when it rebases.
@sjezewski I doubt you'll have too much luck using this library to read pgdump output since it targets mysql dialect rather than postgres dialect SQL, and as you found, postgres-isms like COPY protocol will fail to parse. You might want to look for a postgres dialect parser?
Discovered while looking at
mysqldump
's default output, which contains a couple things that currently cause syntax errors.A
mysqldump
file consists of SQL statements that create tables and insert rows into them. By default it placesLOCK TABLES
andUNLOCK TABLES
statements around its inserts, but currently these are not handled by the parser.The text was updated successfully, but these errors were encountered: