1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/9685] Buffer posts for search indexing when using mssqlnative.

To have a generic solution there is now a sql_buffer_nested_transaction()
which indicates that the given SQL driver requires buffering to run a
transaction while iterating over another result set.

PHPBB3-9685
This commit is contained in:
Nils Adermann
2011-03-12 16:49:25 +01:00
parent 2f57bfb6f2
commit 91b3195255
3 changed files with 35 additions and 3 deletions

View File

@@ -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