9f66c650b0af7efc2d5981a1dd39779d0235c195 |
|
02-Jun-2011 |
Daniel Lehmann <lehmannd@google.com> |
Remove the obsolete function that is not used anymore Change-Id: I749d4bdba68edb87fe7eb24095e70b544da00c71
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
50b1f8d3fc1379339119933e8f567547efb89aa5 |
|
02-Jun-2011 |
Daniel Lehmann <lehmannd@google.com> |
Enable strict mode as a public api to catch sql injections Bug: 4368912 Change-Id: Ia4919f58cc5264da8758d6cd61d93e031676b74a
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
f4072fcc14ec44072d31d7beeb4524550bead531 |
|
18-Nov-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of 8fc378f9 to gingerbread-plus-aosp Change-Id: I938c0a66ad4271b33626d6b12406a2f6c6d1b6d8
|
84029037239fec6e54327519c3e5ad30088c28ce |
|
12-Nov-2010 |
Jonas Schwertfeger <jschwertfeger@gmail.com> |
Added buildQuery and buildUnionSubQuery methods without misleading selectionArgs parameter. The signatures of the existing buildQuery and buildUnionSubQuery methods include a selectionArgs parameter that is not actually being used in the method implementations. This parameter leads to the misconception that SQL paramter substitution is carried out by these methods. I added new variants of these methods without that parameter and deprecated the old variants. Change-Id: I1bf770d5c777649e9aac36d93aa93bd65bbcc2a3
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
40eb4aad2bbf88abe21f5868cc09d49ee1b05bf8 |
|
15-Apr-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Introducing "strict project map". Change-Id: I147e10ac6475badf1d21e2c27d1cedbb27bd49df
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
ae6cdd12ac7ded629971206efde331361604d442 |
|
14-Mar-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Allocate SQLiteQueryBuilder's WHERE clause StringBuilder lazily. Number of callers weren't using this, and seemed like a waste to allocate it when unnecessary. Change-Id: Iebb701a9eb4f1d9d028bfe74463574f84a36729c
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
158d83054fdb449b4d23317d7b159b76f7ef76a5 |
|
27-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am a64f5f61: Merge change 1124 into donut Merge commit 'a64f5f61677cf4aa3bf871c87be950bb85c2aeeb' * commit 'a64f5f61677cf4aa3bf871c87be950bb85c2aeeb': Fix SQLite limit issue.
|
ab18d1f46a0501f9a54da1ef08ff4967f4b63b68 |
|
07-May-2009 |
Owen Lin <owenlin@google.com> |
Fix SQLite limit issue. SQLLite limit is not only used to limit the returned number of data. It can be used to do an offset query. For example, "SELECT * FROM table LIMIT 100, 10", will return the data of index in the range of [100, 100 + 10). This change set enable this kind of useage. This is also more efficient than use "cursor.moveToPosition()". In my experiment, I query 1000 items in batch mode, i.e., get 20 items out of 1000 each time. Time of using LIMIT clause: 626ms Time of useing "cursor.moveToPosition()": 2062ms
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
090d32b27509b1885eead49a4978b2dfd607639a |
|
29-Apr-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 9ae8873: Merge change 617 into donut Merge commit '9ae8873ed83035e8527526e2cc1a189caf0e8d9e' * commit '9ae8873ed83035e8527526e2cc1a189caf0e8d9e': Allow caller-supplied column aliases in queries even when a projection map is used.
|
99c4483cd77ff96c5181fda3d6e2fcf2ea50421b |
|
28-Apr-2009 |
Michael Chan <mchan@android.com> |
Allow caller-supplied column aliases in queries even when a projection map is used. Modified SQLiteQueryBuilder to allow caller-spplied column alias ("AS") instead restricting to the keys of the supplied projection map. This is needed for UNION queries where new columns may be created on the fly such as "1 AS flag"
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
accbadeb52eda2d972fa6d9f41ebaf9168dc343a |
|
19-Dec-2008 |
Yusuke Ohmichi(maimuzo) <maimuzo@gmail.com> |
fix issue #1587
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/database/sqlite/SQLiteQueryBuilder.java
|