mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
FIX Ignore invalid byte character
This commit is contained in:
parent
afec73997a
commit
17e9f5388c
@ -858,7 +858,9 @@ class PostgreSQLSchemaManager extends DBSchemaManager
|
|||||||
$argList = array();
|
$argList = array();
|
||||||
$nextArg = "";
|
$nextArg = "";
|
||||||
foreach ($bytes as $byte) {
|
foreach ($bytes as $byte) {
|
||||||
if ($byte == "00") {
|
if ($byte == '\x') {
|
||||||
|
continue;
|
||||||
|
} elseif ($byte == "00") {
|
||||||
$argList[] = $nextArg;
|
$argList[] = $nextArg;
|
||||||
$nextArg = "";
|
$nextArg = "";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user