Edit: sql_get_diagnostics.h