Commit 95e1be56 authored by Otto Kekäläinen's avatar Otto Kekäläinen

Imported Upstream version 25.3.10

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

#*#
*$
*,v
*.BAK
*.a
*.bak
*.elc
*.exe
*.la
*.lo
*.o
*.obj
*.orig
*.py[oc]
*.so
*.os
*.tmp
*.log
*.passed
*~
.#*
.*.sw[nop]
.*.tmp
./.python-eggs
.DS_Store
.arch-ids
.arch-inventory
.bzr.log
.del-*
.git
.hg
.jamdeps.libs
.make.state
.sconsign*
.svn
.sw[nop]
.tmp*
BitKeeper
CVS
CVS.adm
RCS
SCCS
TAGS
_darcs
aclocal.m4
autom4te*
config.h
config.h.in
config.log
config.status
config.sub
docs/build/*
stamp-h
stamp-h.in
stamp-h1
scons*
.sconf*
{arch}
galera_check
gu_tests
gu_tests++
check_gcomm
gcs_test
gcs_tests
cluster.conf
nodes.conf
tests/conf/*.cnf
tests/run
tests/out
tests/bin/*
gcache/src/test
gcache/tests/gcache_tests
Makefile
Makefile.in
.deps
.libs
garb/garbd
gcs/src/.garb
docs/build/
gcomm/test/ssl_test
galerautils/src/gu_fnv_bench
*.a
*.o
*.os
*.so
*.log
*.diff
GPATH
GRTAGS
GTAGS
GSYMS
.sconf_temp
.sconsign.dblite
core
rb_test
galera.cache
gvwstate.dat
galera/tests/galera_check
galera/tests/galera_check.passed
galerautils/tests/gu_tests
galerautils/tests/gu_tests++
galerautils/tests/gu_tests++.passed
galerautils/tests/gu_tests.passed
garb/garbd
gcache.page.*
gcache/src/test
gcache/tests/gcache_tests
gcache/tests/gcache_tests.passed
gcomm/test/check_gcomm
gcomm/test/gcomm_check.passed
gcomm/test/ssl_test
gcs/src/gcs_test
gcs/src/unit_tests/gcs_tests
gcs/src/unit_tests/gcs_tests.passed
scripts/mysql/mysql-[5-9].[5-9].[0-9]*
tests/bin
tests/out
tests/run
tests/conf/cluster.conf
tests/conf/nodes.conf
tests/conf/common_my.cnf
tests/conf/my[0-9]*.cnf
docs/build
Codership Oy <info@codership.com>
Galera replication - implementation of write set replication (wsrep) interface.
Copyright (C) 2007-2014 Codership Oy <info@codership.com>
This program is free software; you can redistribute it and/or
modify it under the terms of version 2 of the GNU General Public
License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You will find the GNU General Public License version 2 in the file
LICENSE or at http://www.gnu.org/licenses/gpl-2.0.html
In addition, as a special exception, the copyright holders give
permission to link the code of portions of this program with the
OpenSSL project's "OpenSSL" library (or with modified versions of it
that use the same license as the "OpenSSL" library), and distribute
the linked executables. You must obey the GNU General Public License
in all respects for all of the code used other than "OpenSSL". If you
modify this file, you may extend this exception to your version of the
file, but you are not obligated to do so. If you do not wish to do
so, delete this exception statement from your version.
docs/
Documentation is dual licensed with the Creative Commons Attribution ShareAlike
and GNU Free Documentation Licenses. See docs/COPYING for details.
Following modules have their own authors and licenses:
asio/
see asio/COPYING for details
chromium/
see chromium/AUTHORS and chromium/LICENSE for details
www.evanjones.ca/
see www.evanjones.ca/AUTHORS and www.evanjones.ca/LICENSE for details
This diff is collapsed.
Codership Oy
http://www.codership.com
<info@codership.com>
This is Galera replication - Codership's implementation of the write set
replication (wsrep) interface (https://launchpad.net/wsrep/). The software and
other files in this directory unless otherwise noted are distributed under
GPLv2, see COPYING for details.
BUILDING - general
Build Requirements:
* Scons build system http://www.scons.org/
* Check unit test library http://check.sourceforge.net/
* Boost devel package http://www.boost.org/
* OpenSSL devel package
To compile, in Galera root directory do either:
$ scons
(default optimized build)
or
$ ./scripts/build.sh
(see ./scripts/build.sh --help for information on options)
To build MySQL/Galera demo distribution, branch lp:codership-mysql into
some directory (hereafter <MYSQL_DIR>) and run build script from this
directory (hereafter <GALERA_DIR>):
$ cd <MYSQL_DIR>
$ bzr branch lp:codership-mysql
$ cd <GALERA_DIR>
$ MYSQL_SRC=<MYSQL_DIR>/codership-mysql ./scripts/mysql/build.sh -b -s -o -t
After successful build, demo package can be found under scripts/mysql.
BUILDING on CentOS/RHEL 5
CentOS/RHEL by default uses a very old version of GCC and a likewise ancient
version of BOOST that lacks important features. In order to build Galera on
CentOS/RHEL one needs to:
1) Install gcc44 and gcc44-c++ packages and set CC and CXX variables
accordingly:
# yum install gcc44 gcc44-c++
# export CC=gcc44
# export CXX=g++44
2) Remove standard boost and boost-devel packages (if present)
3) Install boost141-devel package:
# yum install boost141-devel
4) Make link from /usr/include/boost to /usr/include/boost141:
# cd /usr/include
# ln -sf boost141/boost boost
5) Install scons check-devel openssl-devel
# yum install scons check-devel openssl-devel
Then proceeed as described above.
For more information, see:
* Codership mailing list: http://groups.google.com/group/codership-team
* https://launchpad.net/galera/
* Codership home page: http://www.codership.com
SConscript(['galerautils/SConscript',
'gcache/SConscript',
'gcomm/SConscript',
'gcs/SConscript',
'galera/SConscript',
'garb/SConscript'])
Import('env', 'sysname')
libmmgalera_objs = env['LIBGALERA_OBJS']
libmmgalera_objs.extend(env['LIBMMGALERA_OBJS'])
if sysname == 'darwin':
env.SharedLibrary('galera_smm', libmmgalera_objs, SHLIBSUFFIX='.so')
else:
env.SharedLibrary('galera_smm', libmmgalera_objs)
This diff is collapsed.
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
//
// asio.hpp
// ~~~~~~~~
//
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_HPP
#define ASIO_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)