You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/03/29 09:52:24 UTC
[GitHub] [shardingsphere] soulasuna commented on a change in pull request #16468: Stop writing supported for DistSQL
soulasuna commented on a change in pull request #16468:
URL: https://github.com/apache/shardingsphere/pull/16468#discussion_r837282745
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/DistSQLBackendHandlerFactory.java
##########
@@ -51,6 +53,7 @@ public static TextProtocolBackendHandler newInstance(final DatabaseType database
if (sqlStatement instanceof RQLStatement) {
return RQLBackendHandlerFactory.newInstance((RQLStatement) sqlStatement, connectionSession);
}
+ checkLockedSchema(connectionSession);
if (sqlStatement instanceof RDLStatement) {
Review comment:
I will optimize the type of statement intercepted `QueryableRALStatement`, `QueryableScalingRALStatement`, `UpdatableScalingRALStatement` they will be ignored.
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org