diff options
| author | Urban Müller | 2017-12-20 17:46:01 +0100 | 
|---|---|---|
| committer | Urban Müller | 2017-12-20 17:46:01 +0100 | 
| commit | a8f466d16b7aecd15ec336171a0fbeceadc2c4cc (patch) | |
| tree | 26e291003c255a8000b3d0d121e01eb1f79d3a46 | |
| parent | e0519c5c09f200f5a0dd49a191072cd2138b48bb (diff) | |
| download | itools-a8f466d16b7aecd15ec336171a0fbeceadc2c4cc.tar.gz itools-a8f466d16b7aecd15ec336171a0fbeceadc2c4cc.tar.bz2 itools-a8f466d16b7aecd15ec336171a0fbeceadc2c4cc.zip  | |
better naming
| -rw-r--r-- | it_dbi.class | 4 | 
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);  |