return $sql;
}
- /**
- * @return string
- */
- public function getSearchEngine() {
- return "SearchMssql";
- }
-
/**
* Returns an associative array for fields that are of type varbinary, binary, or image
* $table can be either a raw table name or passed through tableName() first
return 'CAST ( ' . $field . ' AS VARCHAR2 )';
}
- public function getSearchEngine() {
- return 'SearchOracle';
- }
-
public function getInfinity() {
return '31-12-2030 12:00:00.000000';
}
return $field . '::text';
}
- public function getSearchEngine() {
- return 'SearchPostgres';
- }
-
public function streamStatementEnd( &$sql, &$newLine ) {
# Allow dollar quoting for function declarations
if ( substr( $newLine, 0, 4 ) == '$mw$' ) {
}
/**
- * Get search engine class. All subclasses of this need to implement this
- * if they wish to use searching.
- *
* @return string
+ * @deprecated since 1.27; use SearchEngineFactory::getSearchEngineClass()
*/
public function getSearchEngine() {
return 'SearchEngineDummy';
return true;
}
- /**
- * Get search engine class. All subclasses of this
- * need to implement this if they wish to use searching.
- *
- * @return string
- */
- public function getSearchEngine() {
- return 'SearchMySQL';
- }
-
/**
* @param bool $value
*/
return 'CAST ( ' . $field . ' AS TEXT )';
}
- /**
- * @return string
- */
- public function getSearchEngine() {
- return "SearchSqlite";
- }
-
/**
* No-op version of deadlockLoop
*