Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
3.0.2
-
None
-
RedHat 7.3 with MariaDB-devel-10.2.9-1.el7.centos.x86_64 package from the MariaDB yum repository
Description
Hi All,
I've been migrating a cross-platform C++ code-base (Intel/SPARC, Solaris/RedHat/Ubuntu) from MySQL to MariaDB.
Problem I faced is that ma_list.h file (included by mysql.h) has a macro named rest (we don't use it). Issue for us is that this is a very common word and in our case it clashes with boost::spirit headers.
Workaround for us is to just #undef rest after including mysql.h .
I checked in MySQL connector as well as the MariaDB connector on Solaris Intel (10.1.22-MariaDB tarball) and the macro there is named list_rest . Looking at other list macros, they are all named list_ .
Could you please consider renaming it back to list_rest to maintain MySQL compatibility?
BR,
Petar