"setting the value to 7, after reports on the user list, thought MySQL 5.0.51 with MyISAM engine works up to 10"

This commit is contained in:
Ralf Becker 2009-05-04 16:47:21 +00:00
parent bc65324a7c
commit 6468dc8d77

View File

@ -992,7 +992,8 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
// MySQL 5.0 has a nesting limit for subqueries
// --> we replace the so far cumulated subqueries with their result
// no idea about the other DBMS, but this does NOT hurt ...
if ($n > 1 && !(($n-1) % 10) && !($query = self::$pdo->query($query)->fetchColumn()))
// setting the value to 7, after reports on the user list, thought MySQL 5.0.51 with MyISAM engine works up to 10
if ($n > 1 && !(($n-1) % 7) && !($query = self::$pdo->query($query)->fetchColumn()))
{
if (self::LOG_LEVEL > 1)
{