Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.9, 3.0.10, 3.1.2
-
None
-
Linux, Mac OS, 10.10.3-MariaDB, penJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode)
Description
I created the following table:
create table test_table
|
(
|
int_column int null,
|
mediumtext_column mediumtext null
|
)
|
collate = utf8mb3_bin;
|
I stored 100 in the int_column and a large text (30000 chars) in the mediumtext_colum.
Then I read the data via Unix socket (jdbc:mariadb:///test-int?user=<user>>&password=<password>&localSocket=/tmp/mysql.sock).
Instead of reading the 100 for the int value I get -624824290 and the text length is 98 characters instead of 30000.
The error does not occur when using a TCP/IP database connection.
I attached my test case .