menghaoranss commented on code in PR #18473:
URL: https://github.com/apache/shardingsphere/pull/18473#discussion_r903305194
##########
shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/src/main/java/org/apache/shardingsphere/readwritesplitting/route/impl/ReadwriteSplittingDataSourceRouter.java:
##########
@@ -68,4 +69,9 @@ private boolean containsLastInsertIdProjection(final
SQLStatementContext<?> sqlS
private boolean isHintWriteRouteOnly(final SQLStatementContext<?>
sqlStatementContext) {
return HintManager.isWriteRouteOnly() || (sqlStatementContext
instanceof CommonSQLStatementContext && ((CommonSQLStatementContext<?>)
sqlStatementContext).isHintWriteRouteOnly());
}
+
+ private boolean isAllowWriteDatasourceQuery() {
Review Comment:
Datasource should be DataSource
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]