You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->boltProtocol = null; // has to be set to null as the sockets don't recover nicely contrary to what the underlying code might lead you to believe
160
159
}
161
160
162
161
privatefunctionconsumeResults(): void
@@ -214,6 +213,13 @@ public function begin(?string $database, ?float $timeout): void
214
213
215
214
throw$e;
216
215
}
216
+
217
+
$this->serverState = 'TX_READY';
218
+
}
219
+
220
+
publicfunctiongetFactory(): BoltFactory
221
+
{
222
+
return$this->factory;
217
223
}
218
224
219
225
/**
@@ -360,7 +366,7 @@ public function pull(?int $qid, ?int $fetchSize): array
360
366
throw$e;
361
367
}
362
368
363
-
$this->interpretResult($tbr);
369
+
$this->interpretResult($tbr[count($tbr) - 1]);
364
370
365
371
return$tbr;
366
372
}
@@ -375,7 +381,7 @@ public function getDriverConfiguration(): DriverConfiguration
375
381
376
382
publicfunction__destruct()
377
383
{
378
-
if ($this->serverState !== 'DISCONNECTED' && $this->serverState !== 'DEFUNCT') {
0 commit comments