"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:48:20 +00:00
parent 79355f0417
commit 9acc5f2037

View File

@ -980,7 +980,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)
{