google/lovefield

Select after delete and insert in transaction

arthurhsu opened this issue · 2 comments

Sample code has misuse of db.close() but I don't know if that's the real cause. freshp86@ do you have cycles to take a look?

This only happens if the second button is clicked immediately after the first one, suspecting a race condition for db.close() and db.init(). If I wait long enough (2 seconds on my Mac Pro), then the second select is working correctly.