strongduanmu commented on a change in pull request #15095:
URL: https://github.com/apache/shardingsphere/pull/15095#discussion_r793182600
##########
File path:
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/impl/EncryptCreateTableTokenGenerator.java
##########
@@ -73,23 +75,66 @@ protected boolean isGenerateSQLTokenForEncrypt(final
SQLStatementContext sqlStat
return result;
}
- private SubstitutableColumnNameToken getCipherColumnToken(final String
tableName, final String columnName, final ColumnDefinitionSegment column, final
int stopIndex) {
- return new SubstitutableColumnNameToken(stopIndex + 1,
column.getColumnName().getStopIndex(),
+ private SQLToken getCipherColumnToken(final String tableName, final String
columnName, final ColumnDefinitionSegment column, final int stopIndex) {
Review comment:
@tuichenchuxin Why change return type to SQLToken?
--
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]