Skip to content

Commit

Permalink
Merge branch 'dev-10232' into dev-1023
Browse files Browse the repository at this point in the history
  • Loading branch information
strongduanmu committed Oct 23, 2024
2 parents 02b5e8c + 025e9b2 commit 77f84b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

1. Mode: Fixes `JDBCRepository` improper handling of H2-database in memory mode - [#33281](https://github.com/apache/shardingsphere/issues/33281)
1. SQL Binder: Use Multimap and CaseInsensitiveString to replace CaseInsensitiveMap for supporting mysql multi table join with same table alias - [#33303](https://github.com/apache/shardingsphere/pull/33303)
1. Fix the combine statement cannot find the outer table when bind - [#33357](https://github.com/apache/shardingsphere/pull/33357)

### Change Logs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ private ColumnProjection generateProjection(final EncryptColumn encryptColumn, f
private Collection<Projection> generateProjectionsInTableSegmentSubquery(final EncryptColumn encryptColumn, final ColumnProjection columnProjection, final SubqueryType subqueryType) {
Collection<Projection> result = new LinkedList<>();
QuoteCharacter quoteCharacter = columnProjection.getName().getQuoteCharacter();
IdentifierValue cipherColumnName = new IdentifierValue(encryptColumn.getCipher().getName(), quoteCharacter);
IdentifierValue alias = SubqueryType.JOIN == subqueryType ? null : columnProjection.getAlias().orElse(columnProjection.getName());
IdentifierValue cipherColumnName = new IdentifierValue(encryptColumn.getCipher().getName(), quoteCharacter);
ParenthesesSegment leftParentheses = columnProjection.getLeftParentheses().orElse(null);
ParenthesesSegment rightParentheses = columnProjection.getRightParentheses().orElse(null);
result.add(new ColumnProjection(columnProjection.getOwner().orElse(null), cipherColumnName, alias, databaseType, leftParentheses, rightParentheses));
Expand Down

0 comments on commit 77f84b6

Please sign in to comment.