mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
MySQL의 인덱스 존재 유무 판단시 하나의 인덱스에 결합된 컬럼이 있을 경우가 있기에 결과의 유무로 인덱스 존재 유무 판단하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2390 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
83c1aa06a3
commit
988645a6a3
2 changed files with 4 additions and 4 deletions
|
|
@ -264,8 +264,8 @@
|
|||
$result = $this->_query($query);
|
||||
if($this->isError()) return;
|
||||
$output = $this->_fetch($result);
|
||||
if($output->Key_name == $index_name) return true;
|
||||
return false;
|
||||
if(!$output) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -273,8 +273,8 @@
|
|||
$result = $this->_query($query);
|
||||
if($this->isError()) return;
|
||||
$output = $this->_fetch($result);
|
||||
if($output->Key_name == $index_name) return true;
|
||||
return false;
|
||||
if(!$output) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue