YEAR(2) emits a warning and oursql / mysqlconnector throw an exception
on the warning so just dump it