Ensure MariaDB event logging statements are deterministic.

Change-Id: I0cb6d51fc817e680f8a33583391e88b8518c24c3