mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-08 11:34:04 -04:00
Temporary tables optimisation: use only the one required (#951)
This commit is contained in:
1 parent
94141e21db
commit
6f444b1a33
17 files changed
+48
-5
No files matched your search
@@ -10,11 +10,6 @@ abstract class Report extends CI_Model
|
||||
$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
$this->output->set_header('Cache-Control: post-check=0, pre-check=0', FALSE);
|
||||
$this->output->set_header('Pragma: no-cache');
|
||||
|
||||
//Create our temp tables to work with the data in our report
|
||||
$this->Sale->create_temp_table();
|
||||
$this->Receiving->create_temp_table();
|
||||
$this->Item->create_temp_table();
|
||||
}
|
||||
|
||||
//Returns the column names used for the report
|
||||
|
||||
Reference in new issue
Block a user