Skip to content

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Jan 3, 2025

  1. MIN(_ROW_) and MAX(_ROWID_) can now lookup value directly in simple queries. Closes SELECT MIN/MAX(_ROWID_) can be optimized #4178.
  2. Unused imports are removed.
  3. Type arguments aren't needed any more in modern versions of Java are removed, there were some improvements in compiler after Java 8.
  4. Visibility of Index.getDuplicateKeyException() is decreased to protected.
  5. StringBuilder in this method now has an initial size of 128 instead of 16 (these messages are really long).
  6. StackWalker.getCallerClass() is used instead of deprecated for removal SecurityManager. StackWalker is also faster.
  7. Empty JdbcDriverBackwardsCompat interface is removed, latest version of JDBC is still 4.3 (Java 9+).

Copy link
Contributor

@andreitokar andreitokar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andreitokar andreitokar merged commit 6ced8e4 into h2database:master Jan 4, 2025
2 checks passed
@katzyn katzyn deleted the _rowid_ branch January 5, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SELECT MIN/MAX(_ROWID_) can be optimized

2 participants