sql=SELECT `id` FROM `attachment` WHERE `sig`=? AND `ptr`=0 AND `size`=?
----------------------------------------------------------------------------------
Da: Janos SUTO
A: Piler User
Data: 21 luglio 2015 14.51.29 CEST
Oggetto: Re: pilerimport mysql_stmt_execute errors on XStreamOS/illumos
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?

Reply via email to