Skip to content

Commit cc95f82

Browse files
committed
added CALL keyword as indicator for write statements
1 parent 97e6650 commit cc95f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Network/Bolt/AutoRoutedSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private function sortStatements(iterable $statements): array
5858

5959
$index = 0;
6060
foreach ($statements as $statement) {
61-
if (preg_match('/(CREATE|SET|MERGE|DELETE)/m', $statement->getText())) {
61+
if (preg_match('/(CREATE|SET|MERGE|DELETE|CALL)/m', $statement->getText())) {
6262
$writeStatements->put($index, $statement);
6363
} else {
6464
$readStatements->put($index, $statement);

0 commit comments

Comments
 (0)