mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#113. Sqlite2/3에서 index add script 정상 동작하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2392 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3aba4c14af
commit
0391fd3a62
2 changed files with 4 additions and 6 deletions
|
|
@ -250,8 +250,8 @@
|
|||
$query = sprintf("pragma index_info(%s)", $key_name);
|
||||
$result = $this->_query($query);
|
||||
$output = $this->_fetch($result);
|
||||
if($output->name) return true;
|
||||
return false;
|
||||
if(!$output) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue