#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:
zero 2007-08-23 06:39:32 +00:00
parent 3aba4c14af
commit 0391fd3a62
2 changed files with 4 additions and 6 deletions

View file

@ -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;
}
/**