Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-440] getRowCount returns different values

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:03.000+0000
Affected Version/sn/a
Fix Version/s0.9.2
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeJeff Haynie
Created2011-04-15T02:29:24.000+0000
Updated2011-04-17T01:53:03.000+0000

Description

See database test in kitchen sink. I have 3 log statements:

Titanium.API.info('ROW COUNT = ' + rows.getRowCount());
Titanium.API.info('ROW COUNT = ' + rows.getRowCount());
Titanium.API.info('ROW COUNT = ' + rows.getRowCount());

the first and third log statements print the same value (3) the second prints out (2)

Comments

  1. Jeff Haynie 2011-04-15

    (from [e144e277ae379c5d5fdf2db9b0bc78ce4148b2b8]) fixed DB rowCount issue. closes #440 http://github.com/appcelerator/titanium_mobile/commit/e144e277ae379c5d5fdf2db9b0bc78ce4148b2b8"> http://github.com/appcelerator/titanium_mobile/commit/e144e277ae379...

JSON Source