Ignore:
Timestamp:
Jan 22, 2011, 10:12:48 PM (13 years ago)
Author:
rvelices
Message:
  • fix icon display on index page (calendar by post date)
  • remove unnecessary include_once
  • mysql functions simplification
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dblayer/functions_mysql.inc.php

    r8728 r8844  
    7878function pwg_get_db_version()
    7979{
    80   list($mysql_version) = pwg_db_fetch_row(pwg_query('SELECT VERSION();'));
    81  
    82   return $mysql_version;
     80  return mysql_get_server_info();
    8381}
    8482
     
    223221    return;
    224222  // 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 available
     223  if (count($datas) < 10)
     224  {
    227225    foreach ($datas as $data)
    228226    {
Note: See TracChangeset for help on using the changeset viewer.