Changeset 1792 for trunk/admin/include/functions.php
- Timestamp:
- Feb 8, 2007, 11:04:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1790 r1792 526 526 $first = true; 527 527 528 $query = 'SHOW VARIABLES where variable_name = \'max_allowed_packet\';';528 /*$query = 'SHOW VARIABLES where variable_name = \'max_allowed_packet\';'; 529 529 list(, $packet_size) = mysql_fetch_row(pwg_query($query)); 530 $packet_size = $packet_size - 2000; // The last list of values MUST not exceed 2000 character 531 530 $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; 533 $query = ''; 534 532 535 foreach ($datas as $insert) 533 536 {
Note: See TracChangeset
for help on using the changeset viewer.