Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Patch: more helpful DB error messages

The current behaviour is to spit out sqlite error codes when .next() is called. Debugging the issue involves adding a bunch of debug statements to find out which sql command is failing. This simple one line patch reports the actual failing SQL and the error as a string instead of a number:

http://github.com/dae/titanium_mobile/commit/72dd74dba55cf0b25424b927bdd0f8da3d2f72fb

PS: Thank you for fixing incremental builds in 1.3.0! My app builds much faster now.

— asked May 9th 2010 by Damien Elmes
  • error
  • iphone
  • patch
  • sqlite
0 Comments

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.