Eric,

I can't help fixing the problem with your current code, but I can point you
to the docs where Ryan says you should probably use functions like
"start-transaction", "commit-transaction" and "call-with-transaction" (in
case you missed those).

http://docs.racket-lang.org/db/query-api.html?q=db#(part._transactions)
"""
PostgreSQL, MySQL, and SQLite connections are discouraged from using
transaction-changing SQL statements
"""

So, for example, (query-exec db "BEGIN TRANSACTION") becomes (start-transaction
db).


[]'s

Rodolfo Carvalho
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Reply via email to