| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Caused by 2fcd8c12522. It used the documented pcre API
-pcre_exec(NULL, NULL, NULL, -999, -999, 0, NULL, 0)
to calculate the pcre stack frame size. Unfortunately, modern compilers
broke it by cloning and inlining pcre match() function. 2fcd8c12522
tried to workaround it by setting the stack frame size to at least 500.
It didn't work, 500 is not a universal constant.
Now we fix our copy of pcre to not inline or clone match() - so that
stack frame detection would work again - and detect at cmake time
whether system pcre is broken or usable.
Also use stack, not (much slower) malloc in bundled pcre, unless on Windows
|
| |
| |
| |
| |
| |
| | |
metadata_lock_info_duration[]: Remove the unused variable.
Add some comments /* fall through */ to silence -Wimplicit-fallthrough
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pre/CMakeLists.txt defines CMAKE_DEBUG_POSTFIX which causes a different
library name on Windows debug build (pcred.lib rather than pre.lib)
However MERGE_LIBRARIES macro that is used to create static embedded
library (out of other static libraries), can not handle per-configuration
library names. Thus the build fails with "pre.lib not found"
Fix is to remove unnecessary CMAKE_DEBUG_POSTFIX
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
|
| |
|
|
|
|
|
|
| |
can't be built
when the bundled pcre is used, install its pcre.h in mysql/private/
|
|\ |
|
| | |
|
|/
|
|
|
|
|
| |
Applied a patch from Philip Hazel implementing the non-standard
syntax for word boundaries in PCRE, for compatibility with the
old Henry Spencer's regex library.
|
|
|
|
|
|
| |
Mark a few PCRE CMake variables as advanced,
so the are not presented in cmake-gui by default.
|
|
|
|
|
|
|
| |
Fixing compilation failure on Solaris.
The int64_t type was not defined because stdint.h was not included
due to a missing definition in pcre/config-cmake.h.in.
|
|
|
|
|
|
|
|
| |
PCRE unit tests failed on Ubuntu Precise, because "source"
is not a known command in "dash" (the default shell in Precise).
Changing "source" to ".", which should be understood in all shells.
|
|
|
|
|
|
|
|
| |
Adding pcre_stack_guard to avoid crashes in pcre_compile()
on a long recursive patterns with parenthesizes:
SELECT a RLIKE '((((...((((x)))...))))';
|
|
|
|
|
| |
Removing pcre.h from the tree, it's generated from pcre.h.in
|
|
|
|
|
|
| |
- Commenting out unused instructions in pcre/CMakeLists.txt
- Don't print PCRE configuration status by default.
|
|
|
|
|
| |
It seems to compile/work fine with CMake-2.6.
|
|
|
|
|
|
|
|
|
|
| |
libmysqld.a(pcre_exec.c.o): relocation R_X86_64_32S against
`_pcre_ucd_stage1' can not be used when making a shared object;
make[2]: Leaving directory `/mnt/buildbot/build/mariadb-10.0.3'
recompile with -fPIC
Changing ADD_LIBRARY(pcre) to ADD_CONVENIENCE_LIBRARY(pcre)
|
|
|
|
|
| |
from pcre/CMakeLists.txt
|
|
|
|
|
|
| |
- do not install anything from pcre library
- do not build the c++ library
|
| |
|
|
|