From 87727ec117d40ab6d94c160884994dfa0cd5e858 Mon Sep 17 00:00:00 2001 From: rokmcssu Date: Mon, 30 Jul 2007 01:12:37 +0000 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EB=A6=AC=EC=96=BC=20=EC=A1=B4?= =?UTF-8?q?=EC=9E=AC=20=EC=97=AC=EB=B6=80=20=ED=8C=90=EB=8B=A8=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@2075 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/db/DBCubrid.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php index 830974d5d..a0d5897fb 100644 --- a/classes/db/DBCubrid.class.php +++ b/classes/db/DBCubrid.class.php @@ -193,7 +193,10 @@ * @brief 테이블 기생성 여부 return **/ 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); if(cubrid_num_rows($result)>0) $output = true;