summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_dbi.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_dbi.class b/it_dbi.class
index d86f055..7ea446f 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -536,12 +536,12 @@ function query($query, $p = array())
if (($warning = $this->_link->get_warnings()))
{
do {
- if (!it::match(trim($this->_p['ignored_warnings'] . "|1364|1261|1051", "|"), $warning->errno))
+ if (!it::match(trim($this->_p['ignored_warnings'] . "|1364|1261|1051|1062", "|"), $warning->errno))
$messages[] = $warning->message . " [error $warning->errno]";
} while ($warning->next() && ++$checked < 20);
if ($messages)
- it::error('title' => "Mysql warning: " . $messages[0], 'body' => "$query\n\n" . join("\n", $messages) . "\n");
+ it::error(['title' => "Mysql warning: " . $messages[0], 'body' => "$query\n\n" . join("\n", $messages) . "\n"]);
}
if ($writing && $this->_p['throttle_writes'])