mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Merge pull request #127 from creative-commoners/pulls/2.3/chars
FIX Ignore invalid byte character
This commit is contained in:
commit
84e13ffde3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user