summaryrefslogtreecommitdiff
path: root/tests/sqlite
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-01-20 14:56:48 +0100
committerAndreas Baumann <abaumann@yahoo.com>2012-01-20 14:56:48 +0100
commite43ac4c3e6e7695208e54318e01d16cf1b6bf374 (patch)
treeca3385c26fc9d24cf64036be630f5446d4453f68 /tests/sqlite
parentf758c86e4324a2555425eb7a843c52f14317240b (diff)
downloadcrawler-e43ac4c3e6e7695208e54318e01d16cf1b6bf374.tar.gz
crawler-e43ac4c3e6e7695208e54318e01d16cf1b6bf374.tar.bz2
some interface adaptions
Diffstat (limited to 'tests/sqlite')
-rw-r--r--tests/sqlite/test1.cpp2
-rw-r--r--tests/sqlite/test2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/sqlite/test1.cpp b/tests/sqlite/test1.cpp
index d0f64ee..458d4d2 100644
--- a/tests/sqlite/test1.cpp
+++ b/tests/sqlite/test1.cpp
@@ -39,7 +39,7 @@ int main( ) {
t.commit( );
} catch( sql_error& e ) {
- cerr << e.msg( ) << ": " << e.query( ) << endl;
+ cerr << e.what( ) << ": " << e.query( ) << endl;
}
return 0;
diff --git a/tests/sqlite/test2.cpp b/tests/sqlite/test2.cpp
index fbd97d7..c3e0f59 100644
--- a/tests/sqlite/test2.cpp
+++ b/tests/sqlite/test2.cpp
@@ -35,7 +35,7 @@ int main( ) {
t.commit( );
} catch( sql_error& e ) {
- cerr << e.msg( ) << ": " << e.query( ) << endl;
+ cerr << e.what( ) << ": " << e.query( ) << endl;
}
return 0;