Changeset 57416

Show
Ignore:
Timestamp:
04/07/08 15:09:33 (2 months ago)
Author:
ischommer
Message:

removed max_allowed_packets global mysql setting - needs a root database users which we're not granting on the production server

Location:
modules/marketdemandmap/trunk/code/controller
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • modules/marketdemandmap/trunk/code/controller/DemandMap.php

    r57372 r57416  
    7171                parent::init(); 
    7272                 
    73                 // set max_allowed_packet to 32MB to allow for large binary imports 
    74                 DB::query('SET GLOBAL max_allowed_packet=32*1024*1024;'); 
    75                  
    7673                if(empty(DemandMap::$google_api_key)) user_error('Please provide a Google Maps API Key', E_USER_ERROR); 
    7774                 
  • modules/marketdemandmap/trunk/code/controller/SupplyImporter.php

    r57336 r57416  
    9090                set_time_limit(60*10); 
    9191                ini_set('memory_limit', '700M'); 
    92  
    93                 // set max_allowed_packet to 32MB to allow for large binary imports 
    94                 DB::query('SET GLOBAL max_allowed_packet=32*1024*1024;'); 
    95  
     92                 
    9693                $fileSHP = new File(); 
    9794                $fileSHP->loadUploaded($_FILES['_ShapeFileSHP'], $this->tmpFolder);