dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix order of @var parameter in PHP"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
database
/
DatabaseSqlite.php
diff --git
a/includes/libs/rdbms/database/DatabaseSqlite.php
b/includes/libs/rdbms/database/DatabaseSqlite.php
index
f2bc01d
..
c9942a5
100644
(file)
--- a/
includes/libs/rdbms/database/DatabaseSqlite.php
+++ b/
includes/libs/rdbms/database/DatabaseSqlite.php
@@
-259,7
+259,7
@@
class DatabaseSqlite extends Database {
* Check if the searchindext table is FTS enabled.
* @return bool False if not enabled.
*/
* Check if the searchindext table is FTS enabled.
* @return bool False if not enabled.
*/
- function checkForEnabledSearch() {
+
public
function checkForEnabledSearch() {
if ( self::$fulltextEnabled === null ) {
self::$fulltextEnabled = false;
$table = $this->tableName( 'searchindex' );
if ( self::$fulltextEnabled === null ) {
self::$fulltextEnabled = false;
$table = $this->tableName( 'searchindex' );
@@
-1018,7
+1018,7
@@
class DatabaseSqlite extends Database {
}
}
}
}
- $res = $this->query( $sql, $fname );
+ $res = $this->query( $sql, $fname
, self::QUERY_PSEUDO_PERMANENT
);
// Take over indexes
$indexList = $this->query( 'PRAGMA INDEX_LIST(' . $this->addQuotes( $oldName ) . ')' );
// Take over indexes
$indexList = $this->query( 'PRAGMA INDEX_LIST(' . $this->addQuotes( $oldName ) . ')' );