commit | 65a8883f0e605bb8a73a692987b47ce5da632e72 | [log] [tgz] |
---|---|---|
author | Vasu Nori <vnori@google.com> | Fri Jul 16 15:14:08 2010 -0700 |
committer | Vasu Nori <vnori@google.com> | Wed Jul 21 16:04:04 2010 -0700 |
tree | 7224e456ae309020f5c48d7a0203823b6262a59b | |
parent | 71cbae81b05c7fff8e27d54168c24e38693ff2f3 [diff] |
don't store mDatabase in SQLiteCursor as it is already in SQLiteQuery SQLiteCursor has two members: mQuery, mDatabase but mQuery already has mDatabase. there is no need for SQLiteCursor.mDatabase. and everytime SQLiteQuery.mDatabase is to be used, try to use a pooled database connection handle, if possible. Change-Id: I42b2376d714a1a4091c843e245a45b882bb7fee6