Changeset 21865

Show
Ignore:
Timestamp:
09.04.2010 16:34:42 (10 years ago)
Author:
mdewsnip
Message:

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

Files:
1 modified

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}