Skip to content

Commit

Permalink
clena
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfengHKU committed May 21, 2023
1 parent 7c3396d commit b003493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binder/visitor/statement_read_write_analyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bool StatementReadWriteAnalyzer::isReadOnly(const kuzu::binder::BoundStatement&
}

void StatementReadWriteAnalyzer::visitQueryPart(const NormalizedQueryPart& queryPart) {
readOnly = queryPart.hasUpdatingClause();
readOnly = !queryPart.hasUpdatingClause();
}

} // namespace binder
Expand Down

0 comments on commit b003493

Please sign in to comment.