dolthub / hosted-issues

Issues for hosted.doltdb.com
https://hosted.doltdb.com
2 stars 0 forks source link

Add hostedapi unit tests that run against dolt db #33

Closed tbantle22 closed 2 years ago

tbantle22 commented 2 years ago

There was a regression in dolt that broke our search users query, and since the unit tests run against sqlite it wasn't caught until that dolt version was in production. This prevented people from adding users as collaborators or org members

This was the query that broke:

mysql> select * from users where name LIKE "tb%" and id not in ("1") and id != 0;
ERROR 1105 (HY000): expecting evaluation of IN expression right hand side to be a tuple, but it is string
tbantle22 commented 2 years ago

hostedapi unit tests now run against embedded dolt