File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/test/java/org/mariadb/jdbc/integration Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,22 @@ public void callUseParameterName() throws Exception {
5050 assertEquals (res , 1 );
5151 }
5252
53+ @ Test
54+ public void callWithoutBracket () throws Exception {
55+ // error MXS-3929 for maxscale 6.2.0
56+ Assumptions .assumeTrue (
57+ !sharedConn .getMetaData ().getDatabaseProductVersion ().contains ("maxScale-6.2.0" ));
58+ // https://jira.mariadb.org/browse/XPT-267
59+ Assumptions .assumeFalse (isXpand ());
60+
61+ CallableStatement stmt = sharedConn .prepareCall ("call useParameterName(?)" );
62+ stmt .setInt (1 , 1 );
63+ ResultSet rs = stmt .executeQuery ();
64+ assertTrue (rs .next ());
65+ int res = rs .getInt (1 );
66+ assertEquals (res , 1 );
67+ }
68+
5369 @ Test
5470 public void callWithStrangeParameter () throws SQLException {
5571 // error MXS-3929 for maxscale 6.2.0
You can’t perform that action at this time.
0 commit comments