Re: how come mysql 5.6.15 removed the 'test' macro?

Marc Alff <[email protected]> Wed, 11 Dec 2013 22:05:11 +0100
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
Hi,

On 12/11/13 9:17 PM, Rich Prohaska wrote:
> Hello,
> How come the 'test' macro in include/my_globals.h was replaced with
> the 'MY_TEST' macro?
> Thanks
> Rich Prohaska
>

The code with bzr history is available online:

http://bazaar.launchpad.net/~mysql/mysql-server/5.6/view/head:/include/my_global.h

Notice the "view with revision information" button.

For the line that defines MY_TEST, the last revision is:

http://bazaar.launchpad.net/~mysql/mysql-server/5.6/revision/5572

It reads:

"
Bug#17647863: MYSQL DOES NOT COMPILE ON OSX 10.9 GM

Rename test() macro to MY_TEST() to avoid conflict with libc++.
"

Regards,
-- Marc



-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals