Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[MySQL][ODBC 5.3(a) Driver][mysqld-8.0.36-0ubuntu0.20.04.1]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 1' at line 1

/_inc/inc_functions_general.asp, line 7