Hi,
I'm catching up with changes backlog in various backends,
I've noticed inconsistent behaviour in SQLite3 backend:
Here is example based on current test6:
session sql(backEnd, connectString);
for (int i = 0; i != 10; i++)
sql << "insert into soci_test(val) values(:val)", use(i);
statement st1 = (sql.prepare << "update soci_test set val = val + 1");
st1.execute(false);
assert(st1.get_affected_rows() == 10); // FAIL
The get_affected_rows call in the FAIL line always returns 1 for me.
I'd appreciate, if there is anyone who could run SQLite3 test
and report back if the test6 passes, with OS/compilers version?
Thanks in advance!
p.s. assert-based tests turn out not very reliable, frequently subsequent
tests get 'hidden' by failures in previous tests. I may try to switch
to a testing
toolkit, in future.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users