mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
시리얼 존재 여부 판단 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2075 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
16b7d44fc9
commit
87727ec117
1 changed files with 4 additions and 1 deletions
|
|
@ -193,7 +193,10 @@
|
||||||
* @brief 테이블 기생성 여부 return
|
* @brief 테이블 기생성 여부 return
|
||||||
**/
|
**/
|
||||||
function isTableExists($target_name) {
|
function isTableExists($target_name) {
|
||||||
$query = sprintf("select * from db_class where class_name = '%s%s'", $this->prefix, $target_name);
|
if($target_name == 'sequence')
|
||||||
|
$query = sprintf("select * from db_serial where name = '%s%s'", $this->prefix, $target_name);
|
||||||
|
else
|
||||||
|
$query = sprintf("select * from db_class where class_name = '%s%s'", $this->prefix, $target_name);
|
||||||
$result = $this->_query($query);
|
$result = $this->_query($query);
|
||||||
|
|
||||||
if(cubrid_num_rows($result)>0) $output = true;
|
if(cubrid_num_rows($result)>0) $output = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue