-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24570 from famod/mariadb-client-3.0.4
Upgrade mariadb-java-client from 2.7.5 to 3.0.4
- Loading branch information
Showing
11 changed files
with
72 additions
and
109 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
52 changes: 0 additions & 52 deletions
52
.../java/io/quarkus/jdbc/mariadb/runtime/graal/AuthenticationPluginLoader_Substitutions.java
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...db/runtime/graal/Utils_socketHandler.java → ...graal/ConnectionHelper_socketHandler.java
This file contains 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
4 changes: 2 additions & 2 deletions
4
...mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/Pool_disable_JMX.java
This file contains 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
9 changes: 0 additions & 9 deletions
9
...untime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Removal.java
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
.../src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Substitutions.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.quarkus.jdbc.mariadb.runtime.graal; | ||
|
||
import java.io.IOException; | ||
import java.sql.SQLException; | ||
|
||
import org.mariadb.jdbc.Configuration; | ||
import org.mariadb.jdbc.client.Context; | ||
import org.mariadb.jdbc.client.ReadableByteBuf; | ||
import org.mariadb.jdbc.client.socket.Reader; | ||
import org.mariadb.jdbc.client.socket.Writer; | ||
|
||
import com.oracle.svm.core.annotate.Substitute; | ||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
@TargetClass(className = "org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacket") | ||
public final class SendPamAuthPacket_Substitutions { | ||
|
||
@Substitute | ||
public void initialize(String authenticationData, byte[] seed, Configuration conf) { | ||
throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM"); | ||
} | ||
|
||
@Substitute | ||
public ReadableByteBuf process(Writer out, Reader in, Context context) | ||
throws SQLException, IOException { | ||
throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM"); | ||
} | ||
} |
10 changes: 0 additions & 10 deletions
10
...ntime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SharedMemorySocket_Removal.java
This file was deleted.
Oops, something went wrong.
This file contains 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
4 changes: 2 additions & 2 deletions
4
...time/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SocketUtility_Substitutions.java
This file contains 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