26 May
2011
26 May
'11
7:39 p.m.
Hi, MARK! On May 26, MARK CALLAGHAN wrote:
I want to count errors by database user for IS.user_statistics. I have code that does it in my_message_sql but hfisk thinks the counts might be inflated. I don't understand the error reporting framework in MySQL so it is possible that the counts are wrong or count errors and warnings rather than only counting errors.
Looks ok to me. You will count also count errors handled by the CONTINUE handler in the stored routine. But perhaps it's what you want. You won't count warnings, though. Regards, Sergei