diff options
| author | 2024-05-24 15:43:35 -0700 | |
|---|---|---|
| committer | 2024-05-24 15:44:34 -0700 | |
| commit | 2c2d397b7e36b89435e29849b3f36848de630fa8 (patch) | |
| tree | 2ae2a56c76377759fdb4db0b3b5e22f148940566 /libs/androidfw/StringPool.cpp | |
| parent | d6004db98e21ed55f260369cb7d554c43033012f (diff) | |
Improve temp-table query
The method that checks for the use of temporary tables cleans its
statement before it runs the query. This leaves the statement in a
"dirty" state between checks, which locks the tables_used table. This
change cleans the statement after the query is run so that no locks
are held.
The unit test has been updated.
Flag: EXEMPT bugfix
Bug: 342497314
Test: atest
* CtsDatabaseTestCases
* FrameworksCoreTests:android.database
Change-Id: I54032d8c360b123596ca73e6c294dbb285e05361
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions