We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 263b7f3 commit 964925eCopy full SHA for 964925e
protocol/V4.php
@@ -57,6 +57,9 @@ public function discardAll(...$args): bool
57
58
public function discard(...$args): bool
59
{
60
+ // The n specifies how many records to fetch. n=-1 will fetch all records.
61
+ $args[0]['n'] = $args[0]['n'] ?? -1;
62
+
63
try {
64
$msg = $this->packer->pack(0x2F, (object)($args[0] ?? []));
65
} catch (Exception $ex) {
0 commit comments