Skip to content

Allow using TRUNCATE without TABLE#66

Merged
aristath merged 1 commit intomainfrom
fix/51
Dec 28, 2023
Merged

Allow using TRUNCATE without TABLE#66
aristath merged 1 commit intomainfrom
fix/51

Conversation

@aristath
Copy link
Copy Markdown
Member

fixes #51

Comment on lines +1467 to +1469
if ( 'TABLE' === strtoupper( $this->rewriter->peek()->value ) ) {
$this->rewriter->skip(); // TABLE.
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This will now skip only if the value is TABLE

@aristath aristath merged commit 8500a9c into main Dec 28, 2023
@aristath aristath deleted the fix/51 branch December 28, 2023 08:34
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.

Support TRUNCATE without TABLE

1 participant