Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026

Diff for Metafox/db.inc.php between version 1.47 and 1.48

version 1.47, 2008/05/01 14:37:50 version 1.48, 2008/05/19 09:09:12
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/db.inc.php,v 1.46 2007-12-03 16:24:58 nepto Exp $ */  /* $Platon: Metafox/db.inc.php,v 1.47 2008-05-01 14:37:50 nepto Exp $ */
   
 /*  /*
  * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002   * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002
Line 941  function ezin_update_counts_temp() /* {{
Line 941  function ezin_update_counts_temp() /* {{
                 .' GROUP BY ip'                  .' GROUP BY ip'
                 .' HAVING UNIX_TIMESTAMP(SYSDATE()) - MAX(timestamp) > '                  .' HAVING UNIX_TIMESTAMP(SYSDATE()) - MAX(timestamp) > '
                 .intval($ezin_cfg['session_timeout']);                  .intval($ezin_cfg['session_timeout']);
         $result = @mysql_query($query, $ezin_db_handle)          $result = @mysql_query($query, $ezin_db_handle);
                 or ezin_db_error('ezin_update_counts_temp() [1]');          if ($result == false) {
                   if (mysql_errno($ezin_db_handle) == '145') {
                           $res2 = mysql_query('REPAIR TABLE '.$ezin_sys['db']['tables']['counts_temp'])
                                           or ezin_db_error('ezin_update_counts_temp() [1:145:R]');
                           // repeat last query
                           $result = mysql_query($query)
                                   or ezin_db_error('ezin_update_counts_temp() [1:145:N]');
                   } else {
                           ezin_db_error('ezin_update_counts_temp() [1]');
                   }
           }
         $delim = '';          $delim = '';
         $ips   = '';          $ips   = '';
         while ($row = mysql_fetch_array($result, MYSQL_NUM)) {          while ($row = mysql_fetch_array($result, MYSQL_NUM)) {

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top