do not log stray error codes in Query_log_event

sql/log_event.h:
  do not log stray error codes
This commit is contained in:
unknown 2001-07-28 11:46:22 -06:00
parent 29ef945557
commit a774d56149

View File

@ -145,6 +145,9 @@ public:
time(&end_time);
exec_time = (ulong) (end_time - thd->start_time);
db_len = (db) ? (uint32) strlen(db) : 0;
// do not log stray system errors such as EE_WRITE
if (error_code < ERRMOD)
error_code = 0;
}
#endif