summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 3166d85..d86f055 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -40,7 +40,7 @@ class it_dbi
'localized_defaultlanguage' => "de", # Localize fields with this suffix, e.g. copy title_de to title on read
'throttle_writes' => 0, # sleep for 'throttle_writes' multiplied by the execution time after every write
'unbuffered' => false, # use MYSQLI_USE_RESULT (WARNING this is not at all equivalent to normal it_dbi WARNING)
- 'ignoredwarnings' => "", # regex of additional mysql warnings numbers to ignore
+ 'ignored_warnings' => "", # regex of additional mysql warnings numbers to ignore
);
var $_key; # Key of currently loaded record or null (public readonly)
@@ -536,7 +536,7 @@ function query($query, $p = array())
if (($warning = $this->_link->get_warnings()))
{
do {
- if (!it::match(trim($this->_p['ignoredwarnings'] . "|1364|1261|1051", "|"), $warning->errno))
+ if (!it::match(trim($this->_p['ignored_warnings'] . "|1364|1261|1051", "|"), $warning->errno))
$messages[] = $warning->message . " [error $warning->errno]";
} while ($warning->next() && ++$checked < 20);