File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Data/PostgreSQL/testsuite/src Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1989,6 +1989,7 @@ void SQLExecutor::sessionTransactionNoAutoCommit(const std::string& connect)
19891989 Statement stmt = ((*_pSession) << " SELECT COUNT(*) FROM Person" ,
19901990 into (count), async, now);
19911991 local << " SELECT COUNT(*) FROM Person" , into (locCount), now;
1992+ stmt.wait ();
19921993 assertTrue (0 == count);
19931994 assertTrue (2 == locCount);
19941995
@@ -2013,6 +2014,9 @@ void SQLExecutor::sessionTransactionNoAutoCommit(const std::string& connect)
20132014 assertTrue (!local.isTransaction ());
20142015 assertTrue (!local.getFeature (" autoCommit" ));
20152016
2017+ stmt.reset ((*_pSession));
2018+ stmt = ((*_pSession) << " SELECT COUNT(*) FROM Person" ,
2019+ into (count), async, now);
20162020 stmt.wait ();
20172021 assertTrue (2 == count);
20182022
You can’t perform that action at this time.
0 commit comments