Added ability to set Json prepared statement parameter.#43
Open
gilius38 wants to merge 67 commits intokrummas:masterfrom
Open
Added ability to set Json prepared statement parameter.#43gilius38 wants to merge 67 commits intokrummas:masterfrom
gilius38 wants to merge 67 commits intokrummas:masterfrom
Conversation
Also integrated old commit 3238a00 that was never pulled in
appropriate error message) upon 'too many connections' or other connection errors
…e driver standards
Now handling backquotes the same way single and double quotes are handled
size is less than 16 777 215 bytes
- Enabled TLS 1.1 and 1.2 support - Upped version to 1.5.3-snapshot
authentication data is sent by the server.
(AuthMoreData) in sha2 plugin Adding ability to hex dump raw packets to ease debug
Bumping version number
. 1.5 sources deprecation -> went 1.6 . https://bugs.openjdk.java.net/browse/JDK-8212233 bug workaround
connection phase could hang forever reading welcome packet. Applied the same logic and value as "connectTimeout" using setSoTimeout on reading handshake phase packets (only) to avoid blockage
incompatible charset / collation, for example, if the connection is using : set names 'utf8' collate 'utf8_unicode_ci' then next call to getColumns would fail to fetch columns definition with : Illegal mix of collations (utf8_general_ci,COERCIBLE) and (utf8_unicode_ci,COERCIBLE) for operation '='
Don't translate provided query bytes into string until it is needed (lazy translation)
- Implemented batch to send every query altogether - Fixed some error messages (only displaying start of the queryin case of long query, ...)
This was failing with edge cases (when the length of the query is near the max network packet size, ie. 0xFFFFFF)
aother value will be considered as false
not needed) This avoids an unneeded extra loop
Now it will return just an empty result.
(which could fail with String index out of range)
delays transferring small amount of data (especially on SSL handshake)
previously, which would then break.
MySQLDatabaseMetaData
like / pattern matching queries that can behave badly under some circumstances
closing the SSL connection could lead to a deadlock when the remote server connection was not responding .Enabling TLSv1.3 protocol by default .Fixed java source/target version to 1.8 since 1.6 was EOL long ago
connecting to MySQL. This allows special characters in DB name like '-'
of cross-compilation issues
connecting to MySQL. This allows special characters in DB name like '-'
aliases found in the configured keystore. This typically allows seamless MySQL server cert rotation. Change required to dismiss java 1.6 support, now 1.8+ required Also added loglevel checks before calling logger.fine[st]() unnecessarily.
interal to the connection function since these will only be used in case of reconnection/alias-retry
together with its Apache 2 license that has to be kept as-is
Strings could be very large and could generate OOM errors. Now handling streaming of these string parameters.
- fixed a couple of issues that were not handled previously - added a junit test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also integrated old commit 3238a00 that
was never pulled in