1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 19:30:30 +02:00

SqliteResult: workaround for PHP bug 79414

This commit is contained in:
David Grudl
2020-03-26 03:37:27 +01:00
parent 0f69d5d32c
commit e46be6cee6

View File

@@ -96,7 +96,7 @@ class SqliteResult implements Dibi\ResultDriver
'name' => $this->resultSet->columnName($i),
'table' => null,
'fullname' => $this->resultSet->columnName($i),
'nativetype' => $types[$this->resultSet->columnType($i)],
'nativetype' => $types[$this->resultSet->columnType($i)] ?? null, // buggy in PHP 7.4.4 & 7.3.16, bug 79414
];
}
return $columns;