diff options
Diffstat (limited to 'tests/test9.cpp')
-rw-r--r-- | tests/test9.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test9.cpp b/tests/test9.cpp index bbcddb6..7c217cf 100644 --- a/tests/test9.cpp +++ b/tests/test9.cpp @@ -73,7 +73,7 @@ static THREAD_FUNC_DECL produce( void *thread_data ) } } } catch( sql_error& e ) { - cerr << "producer error, " << e.msg( ) << ": " << e.query( ) << endl; + cerr << "producer error, " << e.what( ) << ": " << e.query( ) << endl; } THREAD_FUNC_RETURN; @@ -115,7 +115,7 @@ static THREAD_FUNC_DECL consume( void *thread_data ) } } } catch( sql_error& e ) { - cerr << "consumer error, " << e.msg( ) << ": " << e.query( ) << endl; + cerr << "consumer error, " << e.what( ) << ": " << e.query( ) << endl; } THREAD_FUNC_RETURN; @@ -158,7 +158,7 @@ int main( ) { MUTEX_CLEANUP( cout_mutex ); } catch( sql_error& e ) { - cerr << e.msg( ) << ": " << e.query( ) << endl; + cerr << e.what( ) << ": " << e.query( ) << endl; } } |