Changeset 21865


Ignore:
Timestamp:
2010-04-09T16:34:42+12:00 (11 years ago)
Author:
mdewsnip
Message:

Now displays rv value in error message if sqlite3_exec() fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/lib/sqlitedbclass.cpp

    r21796 r21865  
    318318  // sqlite3_exec failed - return false
    319319  outconvertclass text_t2ascii;
    320   (*logout) << text_t2ascii << "Error executing sql statement: " << sql_cmd << "\n";
     320  (*logout) << text_t2ascii << "Error executing sql statement: " << sql_cmd << ", rv: " << rv << "\n";
    321321  return false;
    322322}
Note: See TracChangeset for help on using the changeset viewer.