mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
merge sandbox to trunk for 1.4.3.1
git-svn-id: http://xe-core.googlecode.com/svn/trunk@7659 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
289973781a
commit
200d63636c
195 changed files with 8166 additions and 3576 deletions
|
|
@ -13,6 +13,7 @@
|
|||
**/
|
||||
var $database = NULL; ///< database
|
||||
var $prefix = 'xe'; ///< XE에서 사용할 테이블들의 prefix (한 DB에서 여러개의 XE 설치 가능)
|
||||
var $comment_syntax = '/* %s */';
|
||||
|
||||
/**
|
||||
* PDO 사용시 필요한 변수들
|
||||
|
|
@ -359,7 +360,7 @@
|
|||
$size?'('.$size.')':'',
|
||||
$notnull?'NOT NULL':'',
|
||||
$primary_key?'PRIMARY KEY':'',
|
||||
$default?"DEFAULT '".$default."'":''
|
||||
isset($default)?"DEFAULT '".$default."'":''
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -634,6 +635,7 @@
|
|||
// list_count를 사용할 경우 적용
|
||||
if($output->list_count['value']) $query = sprintf('%s limit %d', $query, $output->list_count['value']);
|
||||
|
||||
$query .= (__DEBUG_QUERY__&1 && $output->query_id)?sprintf(' '.$this->comment_syntax,$this->query_id):'';
|
||||
$this->_prepare($query);
|
||||
$data = $this->_execute();
|
||||
if($this->isError()) return;
|
||||
|
|
@ -734,6 +736,8 @@
|
|||
|
||||
// 쿼리 실행
|
||||
$query = sprintf('%s limit %d, %d', $query, $start_count, $list_count);
|
||||
$query .= (__DEBUG_QUERY__&1 && $output->query_id)?sprintf(' '.$this->comment_syntax,$this->query_id):'';
|
||||
|
||||
$this->_prepare($query);
|
||||
|
||||
if($this->isError()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue