commit | 3045bbaf58574ad3168466b198b835b29d174c18 | [log] [tgz] |
---|---|---|
author | Vasu Nori <vnori@google.com> | Mon Jan 10 14:29:04 2011 -0800 |
committer | Vasu Nori <vnori@google.com> | Mon Jan 10 15:37:47 2011 -0800 |
tree | eb466798c2a1a8e4ff1094a652deb800f7d03834 | |
parent | 817b3f934271115258838d5cc4903ad5a2bef0f3 [diff] |
bug:3330569 print better message to help debug the problem methods such as SQLiteStatement.simpleQueryForString() expect one and only row to be returned when the query is executed. if the application provides a query that doesn't return any data, then the error message printed is pretty confusing. make it less confusing and print the query itself to help debug the error. Change-Id: Ife2066f3a3eab0b98845a49e8f72b518458a7757