Skip to content

Commit e8911a9

Browse files
Lord-KATotktonada
authored andcommitted
test: update SQL test for tarantool.compat switch
sql_seq_scan compat option[1] is turned to new behavior by default in tarantool 3.0 release. An according sql test in the connector now performs a specific scan instead of a full one. [1]: https://www.tarantool.io/en/doc/latest/reference/reference_lua/compat/sql_seq_scan_default/
1 parent 0b6707a commit e8911a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unix/tarantool_unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ test_execute(const char *uri) {
358358
args = tnt_object(NULL);
359359
isnt(args, NULL, "Check object creation");
360360
isnt(tnt_object_format(args, "[]"), -1, "check object filling");
361-
query = "select * from test_table";
361+
query = "select * from test_table where id = 0";
362362
isnt(tnt_execute(tnt, query, strlen(query), args), -1,
363363
"Create execute sql request: select");
364364
isnt(tnt_flush(tnt), -1, "Send to server");

0 commit comments

Comments
 (0)