dolthub / dolthub/pg2mysql

Explicitly handle statement opening and closing

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
54
Forks
12
PR merge metrics
No merged PRs in 30d

Description

The approach currently in this script is to process dumps line by line switching between cases when a new SQL statement is matched. For instance, we handle a CREATE TABLE statement until we see an INSERT statement. We make no attempt to determine the end of statements.

The issue here is things like functions have BEGIN/END blocks where INSERTS or CREATES can be defined.

We need to make an attempt to determine the end of statements so we get a better state machine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.