Changeset 8844 for trunk/include/dblayer/functions_mysql.inc.php
- Timestamp:
- Jan 22, 2011, 10:12:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_mysql.inc.php
r8728 r8844 78 78 function pwg_get_db_version() 79 79 { 80 list($mysql_version) = pwg_db_fetch_row(pwg_query('SELECT VERSION();')); 81 82 return $mysql_version; 80 return mysql_get_server_info(); 83 81 } 84 82 … … 223 221 return; 224 222 // depending on the MySQL version, we use the multi table update or N update queries 225 if (count($datas) < 10 or version_compare(mysql_get_server_info(), '4.0.4') < 0)226 { // MySQL is prior to version 4.0.4, multi table update feature is not available223 if (count($datas) < 10) 224 { 227 225 foreach ($datas as $data) 228 226 {
Note: See TracChangeset
for help on using the changeset viewer.