mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-17 06:04:10 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9685] Buffer posts for search indexing when using mssqlnative.
This commit is contained in:
@@ -241,6 +241,16 @@ class dbal
|
||||
return $this->_sql_like_expression('LIKE \'' . $this->sql_escape($expression) . '\'');
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether results of a query need to be buffered to run a transaction while iterating over them.
|
||||
*
|
||||
* @return bool Whether buffering is required.
|
||||
*/
|
||||
function sql_buffer_nested_transaction()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* SQL Transaction
|
||||
* @access private
|
||||
|
@@ -258,6 +258,14 @@ class dbal_mssqlnative extends dbal
|
||||
return ($this->sql_server_version) ? 'MSSQL<br />' . $this->sql_server_version : 'MSSQL';
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
function sql_buffer_nested_transaction()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* SQL Transaction
|
||||
* @access private
|
||||
@@ -628,7 +636,7 @@ class dbal_mssqlnative extends dbal
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Allows setting mssqlnative specific query options passed to sqlsrv_query as 4th parameter.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user