| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* Update wrong zip-code
|
|
|
|
|
|
|
| |
Disable LOAD DATA LOCAL INFILE suport by default and
auto-enable it for the duration of one query, if the query
string starts with the word "load". In all other cases the application
should enable LOAD DATA LOCAL INFILE support explicitly.
|
|\ |
|
| |
| |
| |
| | |
Upgrading the zlib lib to 1.2.11
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Backport to 5.5
Current MySQL builds, even on Pushbuild, are not reproducible; they return
different results depending on which directory they are built from (and
Pushbuild uses several different directories). This is because absolute paths
leak into debug information, and even worse, __FILE__. The latter moves code
around enough that we've actually seen sysbench changes on the order of 4% in
some tests.
CMake seemingly insists on using absolute paths, but we can insert our own
layer between CMake and GCC to relativize all paths. Also give the right flags
to get debug information reproducible and turn off build stamping. This makes
the mysqld build 100% bit-for-bit reproducible between runs on my machine,
even when run from different directories.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit d39629f01ebdd5b89186e6c8a4a8d3dd528bd26a.
Because running mtr for many hours with no output whatsoever
is not really what we should do.
And in 5.5 `make test` just works anyway, nothing to fix here.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Assign all tests added via MY_ADD_TEST to a bogus default_ignore target,
so that they are not ran by default when doing bare make test. Add default
test named MTR that calls mysql-test-run suite, which is now the single
test run by make test.
In consequence, modified unit/suite.pm to exclude the MTR test and run the
real ctests flagged for default_ignore target, thus no circular
loop.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Post-push fix.
Problem cmake without explicit build type was broken on windows.
Fix: do not test for build type, always extend CMAKE_C[XX]_FLAGS_DEBUG
|
| |
| |
| |
| |
| |
| | |
The combination cmake -DENABLE_DEBUG_SYNC=0 -DWITH_DEBUG=ON fails to build.
Fix: Remove option ENABLE_DEBUG_SYNC.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem Statement
=========
Fix various issues when building MySQL with Visual Studio 2015.
Fix:
=======
- Visual Studio 2015 adds support for timespec. Add check and
related code to use this and only use our replacement if
timespec is not defined.
- Rename lfind/lsearch to my* to avoid redefinition problems.
- Set default value for TMPDIR to "" on Windows as P_tmpdir
no longer exists.
- using VS definition of snprintf if available
- tzname are now renamed to _tzname.
|
| | |
|
| |
| |
| |
| | |
shouldn't have been added in the first place, MariaDB Server is GPLv2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-DCMAKE_BUILD_TYPE=Debug
It's too plainful to require <my_config.h> to be included first
for third-party storage engines. And anyway, some source files
might not include <my_config.h> at all, so there is no guarantee
that all parts of the binary will see identical definitions of system
structures (e.g. struct stat).
Define _FILE_OFFSET_BITS on the compiler's command line instead.
|
| | |
|
|\ \ |
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| |
| |
| |
| | |
Patch for 5.5
|
| |
| |
| |
| | |
Use 'git log -1; git branch' rather than 'bzr version-info'
|
| |
| |
| |
| |
| | |
For 'make dist': only use 'bzr export' if bzr root == ${CMAKE_SOURCE_DIR}
Same thing for git.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Bug#17959689: MAKE GCC AND CLANG GIVE CONSISTENT COMPILATION WARNINGS
Bug#18313717: ENABLE -WERROR IN MAINTANER MODE WHEN COMPILING WITH CLANG
Bug#18510941: REMOVE CMAKE WORKAROUNDS FOR OLDER VERSIONS OF OS X/XCODE
Backport from mysql-5.6 to mysql-5.5
|
| |
| |
| |
| | |
Set CMP0026 and CMP0045 policies when using CMake
version 3 or higher to restore old CMake behavior.
|
| |
| |
| |
| | |
CMakeLists.txt
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug#17894997 CMAKE WARNING WRT INTERFACE_LINK_LIBRARIES
Bug#17905155 CMAKE WARNING WHEN GENERATING MAKEFILE
Bug#71089 CMake warning when generating Makefile
Use old policy for LINK_INTERFACE_LIBRARIES.
|
| |
| |
| |
| |
| |
| | |
Bug#68338 RFE: make tmpdir a build-time configurable option
Post-push fix: windows needs DEFAULT_TMPDIR as well.
|
| |
| |
| |
| |
| |
| |
| | |
Bug#68338 RFE: make tmpdir a build-time configurable option
Post-push fix: 'cmake -LH | grep TMP' showed TMPDIR as a BOOL option,
which was a bit confusing: show it as a PATH instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug#68338 RFE: make tmpdir a build-time configurable option
Background: Some distributions use tmpfs for mounting /tmp by
default, which has some advantages, but brings also new
issues. Fedora started using tmpfs on /tmp in version 18 for
example. If not configured otherwise in my.cnf, MySQL uses
system's constant P_tmpdir expanded to /tmp on Linux. This can
introduce some problems with limited space in /tmp and also some
data loss in case of replication slave [1].
In case distributions would like to use /var/tmp, which should be
better for MySQL purposes, then we have to patch the source or
change tmpdir option in my.cnf, which is however not updated in
case it has already existed.
Thus, it would be useful to be able to specify default tmpdir
path using a configure option, while using P_tmpdir in case it is
not defined explicitly.
Based on a contribution from Honza Horak
|
| | |
|
| |
| |
| |
| | |
MSI PACKAGE
|
| |
| |
| |
| | |
LIBRARIES USED
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Tested with:
gcc (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1)
clang version 3.1 (tags/RELEASE_31/final)
Target: x86_64-apple-darwin10.8.0
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | | |
DIRECTORY EXISTS
|
| | |
| | |
| | |
| | |
| | | |
Top level "SPECIFIC-ULN/" was inappropriate,
put the files to create RPMs for ULN into
"packaging/rpm-uln/".
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
from the MySQL 5.5 source tree.
Contrary to the comment, the spec file for these ULN RPMs
was missing in the previous changeset (blame ".bzrignore").
This change now brings said spec file, and it adds cmake
handling for the new files.
Still for internal tool tests only, not yet ready for publishing.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ignore --with-client-ldflags
it's not supported by the cmake scripts anyways.
Ignore --with-mysqld-ldflags
it's only used with --with-mysqld-ldflags=-static
and that doesn't work.
|
| |\ \ \
| | |/ /
| |/| /
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added new minimal client using same framework
Added internal test using it
Small changes to top level make/configure/cmake to have it built
|
| |\ \
| | |/ |
|
| | |\ |
|
| | | | |
|
| | |\ \
| | | |/
| | |/| |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Windows 2000.
Visual Studio 2003 and 2005 require
_WIN32_WINNT >= 0x0500 (Win2000) for TryEnterCriticalSection.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
VISUAL STUDIO
Add option to set project name for Mac/Windows.
|