Changeset 12 for Common/Database.php
- Timestamp:
- Apr 7, 2020, 9:14:24 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Database.php
r10 r12 2 2 3 3 // Extended database class 4 // Date: 20 16-01-114 // Date: 2020-04-07 5 5 6 6 function microtime_float() … … 93 93 if (!$this->Connected()) throw new Exception(T('Not connected to database')); 94 94 if (($this->ShowSQLQuery == true) or ($this->LogSQLQuery == true)) $QueryStartTime = microtime_float(); 95 $this->LastQuery = $Query; 96 //echo('a'.$this->ShowSQLQuery.'<'.$QueryStartTime.', '.microtime_float()); 95 $this->LastQuery = $Query; 97 96 if (($this->ShowSQLQuery == true) or ($this->LogSQLQuery == true)) 98 97 $Duration = ' ; '.round(microtime_float() - $QueryStartTime, 4). ' s';
Note:
See TracChangeset
for help on using the changeset viewer.