Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1236] Android: Database.Proxy Should return "empty" rowset on select if no results

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:36.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:47:22.000+0000
Updated2011-04-17T01:55:36.000+0000

Description

On iPhone an ResultSetProxy is returned from execute because they have an empty ResultSet where as the native implementation of Android SQLite returns null if there are no results. Update ResultSetProxy to handle a null native ResultSet.

Comments

  1. Don Thorp 2011-04-15

    (from [a641cfd56625b0813528387f0537a48d2222b2de]) [#1236 state:resolved] No return a ResultSetProxy even if select returns null from Android's rawQuery. http://github.com/appcelerator/titanium_mobile/commit/a641cfd56625b0813528387f0537a48d2222b2de"> http://github.com/appcelerator/titanium_mobile/commit/a641cfd56625b...

JSON Source