Bugfix: Work item 15312 - Caching and tmp partition exhaustion
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68479 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
9b40f3edf5
commit
eb5dadcd4c
|
@ -112,7 +112,7 @@ class PHPExcel_CachedObjectStorage_DiscISAM extends PHPExcel_CachedObjectStorage
|
||||||
parent::copyCellCollection($parent);
|
parent::copyCellCollection($parent);
|
||||||
// Get a new id for the new file name
|
// Get a new id for the new file name
|
||||||
$baseUnique = $this->_getUniqueID();
|
$baseUnique = $this->_getUniqueID();
|
||||||
$newFileName = sys_get_temp_dir().'/PHPExcel.'.$baseUnique.'.cache';
|
$newFileName = PHPExcel_Shared_File::sys_get_temp_dir().'/PHPExcel.'.$baseUnique.'.cache';
|
||||||
// Copy the existing cell cache file
|
// Copy the existing cell cache file
|
||||||
copy ($this->_fileName,$newFileName);
|
copy ($this->_fileName,$newFileName);
|
||||||
$this->_fileName = $newFileName;
|
$this->_fileName = $newFileName;
|
||||||
|
@ -140,7 +140,7 @@ class PHPExcel_CachedObjectStorage_DiscISAM extends PHPExcel_CachedObjectStorage
|
||||||
parent::__construct($parent);
|
parent::__construct($parent);
|
||||||
if (is_null($this->_fileHandle)) {
|
if (is_null($this->_fileHandle)) {
|
||||||
$baseUnique = $this->_getUniqueID();
|
$baseUnique = $this->_getUniqueID();
|
||||||
$this->_fileName = sys_get_temp_dir().'/PHPExcel.'.$baseUnique.'.cache';
|
$this->_fileName = PHPExcel_Shared_File::sys_get_temp_dir().'/PHPExcel.'.$baseUnique.'.cache';
|
||||||
$this->_fileHandle = fopen($this->_fileName,'a+');
|
$this->_fileHandle = fopen($this->_fileName,'a+');
|
||||||
}
|
}
|
||||||
} // function __construct()
|
} // function __construct()
|
||||||
|
|
|
@ -60,6 +60,7 @@ Fixed in SVN:
|
||||||
- Bugfix: (MBaker) Work item 15121 - Column reference rather than cell reference in Print Area definition
|
- Bugfix: (MBaker) Work item 15121 - Column reference rather than cell reference in Print Area definition
|
||||||
Fix Excel2007 Writer to handle print areas that are defined as row or column ranges rather than just as cell ranges
|
Fix Excel2007 Writer to handle print areas that are defined as row or column ranges rather than just as cell ranges
|
||||||
- Bugfix: (MBaker) Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings
|
- Bugfix: (MBaker) Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings
|
||||||
|
- Bugfix: (MBaker) Work item 15312 - Caching and tmp partition exhaustion
|
||||||
- General: (MBaker) Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.
|
- General: (MBaker) Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.
|
||||||
- General: (MBaker) Enhanced SheetViews element structures in the Excel2007 Writer for frozen panes.
|
- General: (MBaker) Enhanced SheetViews element structures in the Excel2007 Writer for frozen panes.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue