try the following:
edit mysql.c, and locate the prepare_sql_statement() function. Then add
the following to the beginning:
syslog(LOG_PRIORITY, "%s: sql=%s", sdata->ttmpfile, s);
then recompile, and run it again. When you get the mysql_stmt_execute
error, look for the previous syslog entry, it will reveal the
problematic
sql query.
Janos
On 2015-07-21 14:10, Gabriele Bulfon wrote:
not that easy, as it's the first time I get into mysql C calls.
would you give some clues as to how to change mysql.c or import.c or
pilerimport.c to debug some stuff?