MySQL ODBC HDBC - query is executed only at compilation

My program works with runghc, but the same program successively fails when compiling with the error "Lost connection to MySQL server during query." The error is not related to a long query (this is CREATE VIEW on a small table). There is nothing in the MySQL error log, but log_warnings = 1. Environment - ubuntu (13.04 ;-), local database)

+5
source share
1 answer

HDBC.ODBC should use 'withRTSSignalsBlocked' to protect all database access activities or for occasional risk errors such as I describe. This has been effectively confirmed by the author of the library.

+3
source

All Articles