Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.19
Description
We use query with executable comments like this
/*!80019 SELECT * FROM information_schema.applicable_roles ORDER BY host, user */ |
It worked, when we were using mariadb-connector-odbc-3.1.16-win32.
It returned for MariaDB empty result.
After upgrade ODBC to version 3.1.19
we get for the same query error like this
Error Message:
|
System.Data.Odbc.OdbcException : ERROR [42000] [ma-3.1.19][11.1.2-MariaDB-1:11.1.2+maria~ubu2204]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 '' at line 1
|
Stack Trace:
|
at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)
|
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)
|
at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
|
at System.Data.Odbc.OdbcCommand.ExecuteReader()
|