Changeset 428 for dev/mods

Show
Ignore:
Timestamp:
07/17/09 14:37:57 (11 years ago)
Author:
kovell
Message:

Kill deletion and price updates wrapped in a transaction. eve_central_sync can fall back to fopen from cURL. Upgrade for suitable indexes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/apoc_fitting/kill_detail.php

    r420 r428  
    7878                        $Val=$_POST[$IID]; 
    7979                        $qry=new DBQuery(); 
     80                        $qry->autocommit(false); 
    8081                        $qry->execute("INSERT INTO kb3_item_price (typeID, price) VALUES ('" . $IID . "', '" . $Val 
    8182                                                          . "') ON DUPLICATE KEY UPDATE price = '" . $Val . "'"); 
     
    9394                        } 
    9495                        $qry->execute("UPDATE kb3_kills SET kll_isk_loss = ".$kill->calculateISKLoss()." WHERE kll_id = ".$kill->getID()); 
     96                        $qry->autocommit(true); 
    9597                } 
    9698        }