Closed maxwheeler closed 12 years ago
This patch seems to fix the problem but I haven't done extensive testing.
--- a/util/phpcassa/columnfamily.php +++ b/util/phpcassa/columnfamily.php @@ -1225,21 +1225,28 @@ class ColumnFamilyIterator implements Iterator { if (count(current($this->current_buffer)) == 0) {
Would you mind opening a pull request for this? You can find instructions here: http://help.github.com/send-pull-requests/
This is definitely a bug, and I appreciate you taking the time to come up with a patch. Thanks!
done, pull request sent
If a CF query results in many empty (tombstone) rows then next() will call itself too many times and fault with the following error.
Fatal error: Maximum function nesting level of '100' reached, aborting! in/util/phpcassa/columnfamily.php on line 1222
Call Stack: