Skip to content

Commit 4d57bc8

Browse files
committed
fix parse bug
1 parent 00c3e80 commit 4d57bc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandadb-driver/src/main/java/org/neo4j/driver/internal/InternalSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public StatementResult run(Statement statement, TransactionConfig config) {
8686
} else {
8787
// pandadb logic
8888
GraphDatabase.isDispatcher = false;
89-
String cypher = statement.text();
89+
String cypher = statement.text().toLowerCase();
9090

9191
//write cypher
9292
if (utils.isWriteCypher(cypher)) {

pandadb-driver/src/main/java/org/neo4j/driver/internal/InternalTransaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public StatementResult run(Statement statement) {
111111
} else {
112112
// pandadb logic
113113
GraphDatabase.isDispatcher = false;
114-
String cypher = statement.text();
114+
String cypher = statement.text().toLowerCase();
115115

116116
//write cypher
117117
if (utils.isWriteCypher(cypher)) {

0 commit comments

Comments
 (0)