Show
Ignore:
Timestamp:
04/05/07 02:52:14 (16 years ago)
Author:
exi
Message:

Attempt to fix various issues with the ContractListTable?-sql summary code.
The raw killmail now shows the time left for classified kills.
Added code to autoupgrade.php to add indexes to kb3_inv_crp and kb3_inv_all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/db.php

    r190 r201  
    1212    require_once('common/includes/class.db.php'); 
    1313} 
     14 
     15// get mysql server info and store it in a define so we know if its 
     16// safe to use subquerys or not 
     17$value = (float)mysql_get_server_info(); 
     18if ($value > 4.1) 
     19{ 
     20    define('KB_MYSQL41', true); 
     21} 
     22else 
     23{ 
     24    define('KB_MYSQL41', false); 
     25} 
    1426?>