mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 22:42:14 +09:00
#19461339 큐브리드 DB 클래스의 논리적인 오류 수정(thanks to misol)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8092 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
deb0b79931
commit
8f3dbfd7ca
1 changed files with 3 additions and 1 deletions
|
|
@ -457,6 +457,9 @@
|
|||
// 테이블 생성 schema 작성
|
||||
$table_name = $xml_obj->table->attrs->name;
|
||||
|
||||
// if the table already exists exit function
|
||||
if ($this->isTableExists($table_name)) return;
|
||||
|
||||
// 만약 테이블 이름이 sequence라면 serial 생성
|
||||
if ($table_name == 'sequence') {
|
||||
$query = sprintf ('create serial "%s" start with 1 increment by 1'.
|
||||
|
|
@ -466,7 +469,6 @@
|
|||
return $this->_query($query);
|
||||
}
|
||||
|
||||
if ($this->isTableExists ($table_name)) return;
|
||||
|
||||
$table_name = $this->prefix.$table_name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue