BubikolRamios
06-27-2011, 08:50 AM
DECLARE EXIT HANDLER FOR SQLEXCEPTION SET i_result = -2;
This does it, but anyway , since there is a bunch of sqls there, I can't see which failed. Could write a zilion of DECLARE EXIT HANDLER ..., but that would only tell me which error, not which sql.
I imagined that the failed sql should be written to mysql-error-log.err file
but there is nothing.
Any tip appreciated.
This does it, but anyway , since there is a bunch of sqls there, I can't see which failed. Could write a zilion of DECLARE EXIT HANDLER ..., but that would only tell me which error, not which sql.
I imagined that the failed sql should be written to mysql-error-log.err file
but there is nothing.
Any tip appreciated.