DreamSaddle opened a new issue #10191:
URL: https://github.com/apache/shardingsphere/issues/10191


   In file 
[JDBCLockEngine#checkTableLock](https://github.com/apache/shardingsphere/blob/master/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/JDBCLockEngine.java#L106)
 missing `String.format()`.
   
   ```java
   private void checkTableLock(final ShardingSphereLock lock, final 
Collection<String> tableNames) throws SQLException {
         for (String tableName : tableNames) {
             if 
(lock.isLocked(LockNameUtil.getTableLockName(DefaultSchema.LOGIC_NAME, 
tableName))) {
                 // Missing format
                 throw new SQLException("Table %s is locked");
             }
         }
     }
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to