XF 2.2 xf_error_log table error_id

eva2000

Well-known member
I wrote a script to parse the Xenforo xf_error_log table entries and noticed that the error_id in entries isn't always consecutive on one Xenforo I parsed.

Is it normal for Xenforo xf_error_log table entries to skip error_id numbers by itself? Or does that mean the entries were deleted?

cheers

George
 
Solution
I think deletion is the most common reason, but it can happen in other scenarios too. A failed insert or a transaction rollback could cause an insert to be discarded, while still incrementing the auto increment index.
I think deletion is the most common reason, but it can happen in other scenarios too. A failed insert or a transaction rollback could cause an insert to be discarded, while still incrementing the auto increment index.
 
Solution
Top Bottom