fix PHP 8.1 makes all schema errors fatal, change that back to previous behavior, to ease updates

This commit is contained in:
ralf 2022-09-14 14:44:45 +02:00
parent 676e855ad5
commit 1989e1a949

View File

@ -948,8 +948,13 @@ class Schema
}
else
{
try {
$retval = $this->dict->ExecuteSQLArray($aSql);
}
catch (\mysqli_sql_exception $e) {
$retval = 1;
}
}
if ($retval < 2 || $this->debug >= $debug_level || $this->debug > 3)
{
$debug_params = func_get_args();