The following code seems to be buggy somehow, but I’m not clear how or why. It seems for some reason that the first SQL “insert” query I run does not get processed, while the second one does. I’ve tried numerous variations on this with no success. I’ve done inserts before without problems.
# The transaction ID “dj3” already exists in all cases, so both queryForResults calls should
# throw an exception, however only the second, third, fourth do.
query = "insert into transactions (transid) values ('dj3')"
DatabaseException: (1062, "Duplicate entry 'dj3' for key 1")
(877) 572-8324 x2200
_______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users