mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
Add regression test for rowid affinity
This commit is contained in:
@@ -12,3 +12,11 @@ do_execsql_test_on_specific_db {:memory:} affinity {
|
|||||||
{1|integer}
|
{1|integer}
|
||||||
{1a|text}
|
{1a|text}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_execsql_test_on_specific_db {:memory:} affinity-rowid {
|
||||||
|
create table t(a integer);
|
||||||
|
insert into t(rowid, a) values (1, 1);
|
||||||
|
select * from t where rowid = '1';
|
||||||
|
select * from t where a = '1';
|
||||||
|
} {1
|
||||||
|
1}
|
||||||
|
|||||||
Reference in New Issue
Block a user