Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

554
 
757
 
757
 
mysql.php
_> 11 <?php
  22 /*
<> 3 -  $Id: mysql.php 554 2006-04-29 16:26:53Z hpdl $
   3+  $Id: mysql.php 757 2006-08-23 12:22:54Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
9999             $debug = true;
  100100           }
  101101 
<> 102 -          if (tep_not_null(SERVICE_DEBUG_EXECUTION_TIME_LOG) && (SERVICE_DEBUG_LOG_DB_QUERIES == '1')) {
   102+          if (!osc_empty(SERVICE_DEBUG_EXECUTION_TIME_LOG) && (SERVICE_DEBUG_LOG_DB_QUERIES == '1')) {
103103             @error_log('QUERY ' . $query . "\n", 3, SERVICE_DEBUG_EXECUTION_TIME_LOG);
  104104           }
  105105         } elseif ($debug === true) {
     
 !
158158       $num_rows = $this->numberOfRows($resource);
  159159 
  160160       if ($num_rows > 0) {
<> 161 -        $random_row = tep_rand(0, ($num_rows - 1));
   161+        $random_row = osc_rand(0, ($num_rows - 1));
<_ 162162 
  163163         $this->dataSeek($random_row, $resource);
  164164