diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-01-20 14:56:48 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-01-20 14:56:48 +0100 |
commit | e43ac4c3e6e7695208e54318e01d16cf1b6bf374 (patch) | |
tree | ca3385c26fc9d24cf64036be630f5446d4453f68 /tests/psql | |
parent | f758c86e4324a2555425eb7a843c52f14317240b (diff) | |
download | crawler-e43ac4c3e6e7695208e54318e01d16cf1b6bf374.tar.gz crawler-e43ac4c3e6e7695208e54318e01d16cf1b6bf374.tar.bz2 |
some interface adaptions
Diffstat (limited to 'tests/psql')
-rw-r--r-- | tests/psql/test1.MUST | 2 | ||||
-rw-r--r-- | tests/psql/test2.cpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/psql/test1.MUST b/tests/psql/test1.MUST index e90eb3d..110b00a 100644 --- a/tests/psql/test1.MUST +++ b/tests/psql/test1.MUST @@ -1,5 +1,5 @@ Conntected to database. -Backend protocol version: 80402 +Backend protocol version: 90102 Protocol version: 3 Prepared Statements: 1 a b diff --git a/tests/psql/test2.cpp b/tests/psql/test2.cpp index 4a5ae7e..dda48f5 100644 --- a/tests/psql/test2.cpp +++ b/tests/psql/test2.cpp @@ -17,9 +17,7 @@ int main( ) { t.exec( "create table test( a integer, b integer)" ); c.prepare( "insertTestStmt", - "insert into test(a,b) values($1,$2)" ) - ( "integer", prepare::treat_direct ) - ( "integer", prepare::treat_direct ); + "insert into test(a,b) values($1,$2)" ); for( unsigned int i = 0; i < 1000; i++ ) { t.prepared( "insertTestStmt" )(i)(i).exec( ); } |