Made planet's main select query fully buffered because NuggiePostbit::paginate_handler requires fetch_page_acl which uses the DBAL
--- a/plugins/nuggie/planet.php Mon Jul 07 04:01:39 2008 -0400
+++ b/plugins/nuggie/planet.php Mon Jul 07 04:02:18 2008 -0400
@@ -105,6 +105,7 @@
$db->_die();
$count = $db->numrows();
+
$db->free_result($sql);
// pass 2: production run
@@ -113,7 +114,7 @@
$sql = str_replace('<limit>', "LIMIT $offset, 10", $sql);
// yea. that was one query.
- $q = $db->sql_unbuffered_query($sql);
+ $q = $db->sql_query($sql);
if ( !$q )
$db->_die();