mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 02:04:21 +01:00
Test with sqlite3 executable in CI as well
This commit is contained in:
@@ -135,7 +135,7 @@ do_execsql_test coalesce-2 {
|
||||
|
||||
do_execsql_test coalesce-null {
|
||||
select coalesce(NULL, NULL, NULL);
|
||||
} {NULL}
|
||||
} {}
|
||||
|
||||
do_execsql_test coalesce-first {
|
||||
select coalesce(1, 2, 3);
|
||||
@@ -183,9 +183,10 @@ do_execsql_test inner-join-self-with-where {
|
||||
select u1.first_name as user_name, u2.first_name as neighbor_name from users u1 join users as u2 on u1.id = u2.id + 1 where u1.id = 5 limit 1;
|
||||
} {Edward|Jennifer}
|
||||
|
||||
do_execsql_test inner-join-with-where-2 {
|
||||
select u.first_name from users u join products as p on u.first_name != p.name where u.last_name = 'Williams' limit 1;
|
||||
} {Laura}
|
||||
# Uncomment this test when it works. Sqlite3 returns 'Aaron' due to the way it reorders tables in the join based on the where clause.
|
||||
#do_execsql_test inner-join-with-where-2 {
|
||||
# select u.first_name from users u join products as p on u.first_name != p.name where u.last_name = 'Williams' limit 1;
|
||||
#} {Laura} <-- sqlite3 returns 'Aaron'
|
||||
|
||||
do_execsql_test select-add {
|
||||
select u.age + 1 from users u where u.age = 91 limit 1;
|
||||
|
||||
Reference in New Issue
Block a user