Skip to content

Fix: Handle null return in MySQLAdapter::normalizeCreateStatement - #181

Open
IncubuzzCC wants to merge 2 commits into
DBDiff:masterfrom
IncubuzzCC:fix-mysql-null-definition
Open

Fix: Handle null return in MySQLAdapter::normalizeCreateStatement#181
IncubuzzCC wants to merge 2 commits into
DBDiff:masterfrom
IncubuzzCC:fix-mysql-null-definition

Conversation

@IncubuzzCC

Copy link
Copy Markdown

Prevents a TypeError when a table definition returns null, common with certain system views.
DBDiff\DB\Adapters\MySQLAdapter::normalizeCreateStatement(): Argument #1 ($definition) must be of type string, null given, called in DBDiff/src/DB/Adapters/MySQLAdapter.php on line 167

@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants