Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5.8, 1.5.9
-
Component/s: Other
-
Labels:None
-
Environment:Windows 10
Description
Call of setClientInfo with an empty string ("") fail:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at org.mariadb.jdbc.MariaDbConnection.setClientInfo(MariaDbConnection.java:1152)
at testmariadb.<init>(testmariadb.java:39)
at testmariadb.main(testmariadb.java:17)