Skip to content

Commit cab91e1

Browse files
committed
[fix](test) Keep prepared JDBC URL concatenation on one expression
1 parent f7ab77e commit cab91e1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎regression-test/suites/external_table_p0/lance/test_lance_prepared_vector_search.groovy‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ suite("test_lance_prepared_vector_search", "p0,external") {
8888
}
8989
}
9090

91-
String url = getServerPrepareJdbcUrl(context.config.jdbcUrl, context.dbName)
92-
+ "&emulateUnsupportedPstmts=false"
91+
// Keep '+' on the preceding line so Groovy continues the expression instead of applying unary plus.
92+
String url = getServerPrepareJdbcUrl(context.config.jdbcUrl, context.dbName) +
93+
"&emulateUnsupportedPstmts=false"
9394
connect(context.config.jdbcUser, context.config.jdbcPassword, url) {
9495
checkPreparedSearch(false)
9596
}
@@ -102,8 +103,8 @@ suite("test_lance_prepared_vector_search", "p0,external") {
102103
}
103104
followers.each { fe ->
104105
String followerUrl = getServerPrepareJdbcUrl(
105-
"jdbc:mysql://${fe.Host}:${fe.QueryPort}/", context.dbName, false)
106-
+ "&emulateUnsupportedPstmts=false"
106+
"jdbc:mysql://${fe.Host}:${fe.QueryPort}/", context.dbName, false) +
107+
"&emulateUnsupportedPstmts=false"
107108
connect(context.config.jdbcUser, context.config.jdbcPassword, followerUrl) {
108109
checkPreparedSearch(true)
109110
}

0 commit comments

Comments
 (0)