commit | 25095c0802fdc07e6882393b938a050255beeeef | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Fri Nov 17 14:02:10 2017 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Fri Nov 17 15:22:20 2017 -0800 |
tree | 87e1e172e39a242c38bbee1f3baff35b6fff9bc6 | |
parent | 04dacb54cc8de84603d6dccdb3bfa1e2614832e8 [diff] |
Close available secondary connections if schema changes If DDL statement is executed on one connection, the schema change is not always visible to other connections due to sqlite3_column_count() API limitation. We have to close secondary connections to prevent the issue. Test: cts/SQLiteOpenHelperTest Bug: 33695159 Change-Id: I862da71ecec5b1edc880dbfadf22efb2274ca10a