Changeset 1794 for trunk/admin/include


Ignore:
Timestamp:
Feb 9, 2007, 7:21:33 PM (18 years ago)
Author:
laurent_duretz
Message:

Issue : 137
Use correct SQL request ta have MySql compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r1792 r1794  
    526526    $first = true;
    527527     
    528     /*$query = 'SHOW VARIABLES where variable_name = \'max_allowed_packet\';';
     528    $query = 'SHOW VARIABLES LIKE \'max_allowed_packet\';';
    529529    list(, $packet_size) = mysql_fetch_row(pwg_query($query));
    530530    $packet_size = $packet_size - 2000; // The last list of values MUST not exceed 2000 character*/
    531     /* DON T WORK WITH MySQL 4.1.9 */
    532     $packet_size = 1000000;
    533531    $query = '';
    534532
Note: See TracChangeset for help on using the changeset viewer.