diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-04-21 23:58:54 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-04-21 23:58:54 +0400 |
commit | df9eb6efe006620be283e69d1879857a66275505 (patch) | |
tree | 2035f82f184e5e1f372cc8e6db8c7bf26cff1c99 /mysql-test/t/commit.test | |
parent | dbf7c215ce4ee92becd2948960f02710f2d9ddb1 (diff) | |
download | mariadb-git-df9eb6efe006620be283e69d1879857a66275505.tar.gz |
Patch for Bug#53022: Compilation of "embedded" is broken.
The bug was a side effect of WL#5030 (fix header files) and
WL#5161 (CMake).
The problem was that CMake-generated config.h (and my_config.h
as a copy of it) had a header guard. GNU autotools-generated
[my_]config.h did not. During WL#5030 the order of header files
was changed, so the following started to happen (using GNU autotools,
in embedded server):
- my_config.h included, defining HAVE_OPENSSL
- my_global.h included, un-defining HAVE_OPENSSL
- zlib.h included, including config.h,
defining HAVE_OPENSSL again.
The fix is to change the order of header file, moving zlib.h
to the top of the header list. More proper fix would be to wrap
unguarded auto-generated [my_]config.h by guarded non-generated
header file.
Diffstat (limited to 'mysql-test/t/commit.test')
0 files changed, 0 insertions, 0 deletions