Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oversize back up


zeberrun

Recommended Posts

Posted

in admin/backup php, attached line puts insert into .... command line many times, this make backup of database 2 times bigger. when you dump datas with new mysql versions, "insert into command" has written once and the rest seperated (). the result is database size, half of oscommerce back up area. how can i solve this problem?

 

// dump the data

$rows_query = tep_db_query("select " . implode(',', $table_list) . " from " . $table);

while ($rows = tep_db_fetch_array($rows_query)) {

$schema = 'insert into ' . $table . ' (' . implode(', ', $table_list) . ') values (';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...