summaryrefslogtreecommitdiff
path: root/tests/test8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test8.cpp')
-rw-r--r--tests/test8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test8.cpp b/tests/test8.cpp
index c4a5ae8..2bf59b0 100644
--- a/tests/test8.cpp
+++ b/tests/test8.cpp
@@ -95,6 +95,6 @@ int main( ) {
cout << "end." << endl;
} catch( sql_error& e ) {
- cerr << e.msg( ) << ": " << e.query( ) << endl;
+ cerr << e.what( ) << ": " << e.query( ) << endl;
}
}