Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.1
-
Fix Version/s: N/A
-
Component/s: JDBC 4.2 compatibility
-
Labels:
-
Environment:JDBC driver 2.2.1, MariaDB server 10.1.34-MariaDB-0ubuntu0.18.04.1, Ubuntu 18.4
Description
Retrieval of value of column PROCEDURE_TYPE from result set of call to JDBC driver method getProcedures() of DatabaseMetaData throws the following error:
error code = 1264
error message = Out of range value for column 'REMARKS' : value
By the by, the column "PROCEDURE_TYPE" is 8th column in the result set and 7th column is "REMARKS"!
You can reproduce the problem by running attached program as following:
java MdbBugProcResult8thColFails <dbname> <userid> <password>
The user id you pass must have privilege to create procedures in the database.