FIX Ignore invalid byte character

This commit is contained in:
Steve Boyd 2022-04-21 14:14:28 +12:00
parent afec73997a
commit 17e9f5388c
1 changed files with 3 additions and 1 deletions

View File

@ -858,7 +858,9 @@ class PostgreSQLSchemaManager extends DBSchemaManager
$argList = array();
$nextArg = "";
foreach ($bytes as $byte) {
if ($byte == "00") {
if ($byte == '\x') {
continue;
} elseif ($byte == "00") {
$argList[] = $nextArg;
$nextArg = "";
} else {