Mariadb error in log

I am now getting an error in my logs. Not sure what it means.

Logger: homeassistant.components.sql.sensor
Source: components/sql/sensor.py:164
Integration: sql (documentation, issues)
First occurred: 1:11:27 PM (94 occurrences)
Last logged: 1:57:57 PM

Error executing query SELECT table_schema "database", Round(Sum(data_length + index_length) / 1024 / 1024, 1,default=0) "value" FROM information_schema.tables WHERE table_schema="homeassistant" GROUP BY table_schema LIMIT 1;: (MySQLdb._exceptions.ProgrammingError) (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'=0) "value" FROM information_schema.tables WHERE table_schema="homeassistant"...\' at line 1') [SQL: SELECT table_schema "database", Round(Sum(data_length + index_length) / 1024 / 1024, 1,default=0) "value" FROM information_schema.tables WHERE table_schema="homeassistant" GROUP BY table_schema LIMIT 1;] (Background on this error at: https://sqlalche.me/e/14/f405)

How do I fix this