mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 13:02:15 +09:00
#18919254 - sloq_query 시간이 잘못 기록되는 문제 수정 및 query_id 출력 포함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7498 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3be90e68da
commit
1becfa3ca4
1 changed files with 60 additions and 59 deletions
|
|
@ -198,12 +198,13 @@
|
|||
if(!file_exists($log_file)) {
|
||||
$buff = '<?php exit();?>'."\n";
|
||||
}
|
||||
$buff .= sprintf("%s\t%s\n\t%0.6f sec\n\n", date("Y-m-h H:i"), $this->query, $elapsed_time);
|
||||
|
||||
$buff .= sprintf("%s\t%s\n\t%0.6f sec\tquery_id:%s\n\n", date("Y-m-d H:i"), $this->query, $elapsed_time, $this->query_id);
|
||||
|
||||
if($fp = fopen($log_file, 'a')) {
|
||||
fwrite($fp, $buff);
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue