mariadb get warning count

From Onset Developer Wiki