Index: trunk/phase3/includes/search/SearchSqlite.php |
— | — | @@ -45,8 +45,11 @@ |
46 | 46 | */ |
47 | 47 | function fulltextSearchSupported() { |
48 | 48 | if ( self::$fulltextSupported === null ) { |
49 | | - $res = $this->db->selectField( 'updatelog', 'ul_key', array( 'ul_key' => 'fts3' ), __METHOD__ ); |
50 | | - self::$fulltextSupported = $res && $this->db->numRows( $res ) > 0; |
| 49 | + self::$fulltextSupported = $this->db->selectField( |
| 50 | + 'updatelog', |
| 51 | + 'ul_key', |
| 52 | + array( 'ul_key' => 'fts3' ), |
| 53 | + __METHOD__ ) !== FALSE; |
51 | 54 | } |
52 | 55 | return self::$fulltextSupported; |
53 | 56 | } |