1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-14 16:40:59 +03:00
Commit Graph

50 Commits

Author SHA1 Message Date
6362791a0c remove mpark 2024-08-22 19:45:48 +04:00
74647cd90c MCOL-5521: Use Columnstore VERSION file for CMAPI versioning.
[fix] columnstore_version.cmake setting extra variables for CMAPI versioning
[fix] CMAPI CmakeLists.txt using columnstore_version.cmake file
[fix] CMAPI VERSION file to template file due to using it inside CMAPI applicatio
n
2023-06-30 13:05:18 -04:00
e66a937c7c disable pch when building boost with gcc 8.x
according to https://bugzilla.redhat.com/show_bug.cgi?id=1806545

  GCC's PCH mechanism is fundamentally incompatible with the security
  hardening requirements for RHEL (PIE in particular).  We are currently
  evaluating the best way to present a more friendly diagnostic for this
  issue.

and also

  we don't turn on hardening the compiler and its binaries in DTS 9.
2023-06-29 18:39:35 -04:00
7cb8e339c5 cmake fixes related to mpark_patterns. 2023-05-01 16:04:21 -04:00
c0c18511f6 MCOL-5456 codebase preparation for colab with CS 11.1 2023-05-01 16:04:21 -04:00
fd045e2fdf Merge branch columnstore-23.02.1-1 into develop-23.02 (#2778)
* cmake fixes:

* set build byproducts (otherwise ninja cannot build)
* exclude thrift from "all" target, it should only be buit as a dependency
  (otherwise it builds - and pulls in boost - when columnstore is disabled)
* move test-only external project into tests/ (because it requires git)
  and into storage/columnstore (where thrift and boost already are)

* Update drone to use 10.6-enterprise server branch. (#2763)

---------

Co-authored-by: Sergei Golubchik <serg@mariadb.com>
2023-03-17 13:23:22 +03:00
3b68353429 remove commited old thrift, replace with static lib build from exterrnal project 2023-01-16 15:37:01 +03:00
ae88ef1823 use system boost, if possible
boost 1.71.0 is what ubuntu focal has, so let's start with that version.
boost 1.77.0 is the first that supports c++20
2022-11-17 11:47:08 -06:00
7e17d88254 cmake version set to 3.10 2022-09-01 16:03:29 +03:00
9ffc05748b This is an intermediate merge of the 22.08.01 release branch to pick
up ARM packaging/building changes
2022-09-01 07:59:28 +00:00
726cc3684b Proper external_boost for storage manager, cmake version REQUIRES 2022-08-30 22:41:44 +00:00
611a632f30 set plugin version correctly 2022-08-30 21:17:54 +02:00
18001d3873 start from the empty list of byproducts 2022-08-30 20:46:12 +02:00
a4f2e5b331 external_boost is only needed as a columnstore dependency
it should not be added to the 'all' target
2022-08-30 20:01:17 +02:00
a7a9ccf889 Serg dev (#2504)
* more build dependencies

* fix for cmake < 3.11

It cannot do ADD_LIBRARY(... ALIAS ...) on IMPORTED targets

* another fix for cmake 3.10.2

It doesn't know about CMAKE_CXX_STANDARD=20,
let's add the correct flag manually

* gcc 8 on aarch64

utils/common/simd_arm.h:241:16: error: need ‘typename’ before ‘simd::TypeToVecWrapperType<T>::WrapperType’ because ‘simd::TypeToVecWrapperType<T>’ is a dependent scope
2022-08-15 13:35:30 +03:00
dee50318ad Serg dev (#2502)
* build boost during build phase, not during configure

* add dependency for generated header files errorids.h messageids.h

see 7e868bc588

* set explicit dependencies on external_boost for #include's

* clang-14 compatibility fix
2022-08-13 07:18:30 +03:00
0489682f9d Use boost tarball instead of clone 2022-05-05 16:44:23 +00:00
c25ae4f378 Use external boost 1.78 2022-05-02 18:23:37 +00:00
b46f4b42b3 MCOL-4809 Vectorized comparison operations unit tests
This commit replaces system googletest with 0.11.1 version compiled from sources
    to enable typed tests feature
2022-02-25 14:32:47 +03:00
866dc25729 Merge pull request #1842 from denis0x0D/MCOL-987_LZ
MCOL-987 LZ4 compression support.
2021-07-07 13:13:18 +03:00
8332ab8974 MCOL-4738 AVG() returns a wrong result
On AMD64 machines, the fpu is 80 bits. The unused bits must be masked for memcmp to work properly. For other archetectures, we don't want to mask those bits.
2021-07-06 19:50:00 -05:00
cc1c3629c5 MCOL-987 Add LZ4 compression.
* Adds CompressInterfaceLZ4 which uses LZ4 API for compress/uncompress.
* Adds CMake machinery to search LZ4 on running host.
* All methods which use static data and do not modify any internal data - become `static`,
  so we can use them without creation of the specific object. This is possible, because
  the header specification has not been modified. We still use 2 sections in header, first
  one with file meta data, the second one with pointers for compressed chunks.
* Methods `compress`, `uncompress`, `maxCompressedSize`, `getUncompressedSize` - become
  pure virtual, so we can override them for the other compression algos.
* Adds method `getChunkMagicNumber`, so we can verify chunk magic number
  for each compression algo.
* Renames "s/IDBCompressInterface/CompressInterface/g" according to requirement.
2021-07-06 18:04:37 +03:00
c74beb6178 MCOL-4554: use jemalloc provided by repo. 2021-03-18 12:35:16 -05:00
6926ca6d6e MCOL-4535: remove readline 2021-02-05 15:46:04 -06:00
b29d0c9daa MCOL-641 Changed the hint to search for GTest headers.
This commit introduces DataConvert UTs.

DataConvert::decimalToString now can negative values.

Next version for Row::toString(), applyMapping UT checks.

Row:equals() is now wide-DECIMAL aware.
2020-11-18 13:47:02 +00:00
f73de30427 MCOL-641 This commit introduces GTest Suite into CS.
Binary NULL magic now consists of a series of BINARYEMPTYROW-s + BINARYNULL
in the end.

ByteStream now has hexbyte alias.

Added ColumnCommand::getEmptyRowValue to support 16 byte EMPTY values.
2020-11-18 13:47:01 +00:00
83f5ff5723 MCOL-4191: Install jemalloc.so with columnstore 2020-09-11 13:09:31 -05:00
5576b18ff6 MCOL-4144 Add python3 as dependency 2020-06-25 19:36:02 +00:00
1398cf20d6 MCS server python code uses python3 by default in (RHEL|Centos)8, (Suse|SLES)15 and Fedora whilst other distributions use default python interpreter.
RPM now restarts MDB on uninstall.

systemd logs a message if SM is not configured.
2020-06-17 13:01:59 +00:00
2acc03242b Bring in the definition of MESSAGE_ONCE to get the engine to build
standalone.
2020-06-01 17:10:14 -04:00
38ea31a707 Merge pull request #1243 from vuvova/cmake-fixes
cmake fixes
2020-06-01 10:16:33 -05:00
2384328d4c cmake: output cleanup
1. reduce the number of cmake warnings
2. remove unused OLD policies
3. only warn about missing prerequisites once
4. start cmake output from columnstore version
2020-05-31 10:55:30 +02:00
9280b7ece1 MCOL-4025 systemd units now preload libjemalloc 2020-05-28 20:53:56 +00:00
90a167178a MCOL-3915 Update columnstore install and uninstall procedure 2020-05-22 23:13:09 +00:00
9e9f04eb79 Some minor cleanup in response to PR comment 2020-05-15 19:27:25 +00:00
1eef764c01 MCOL-3991 Merge packages into one. Cleanup dependencies and remove mcsadmin from uninstall 2020-05-12 21:36:15 +00:00
ee27116cf6 MCOL-3991 New single package on debian-based systems 2020-05-12 13:36:24 +00:00
98abf95eae MCOL-3991 MCS is now single package and properly uninstalls 2020-05-12 13:36:24 +00:00
2966906502 MCOL-3815 Related. Fix columnstore-post-install not running on Debian during package installation 2020-05-12 13:35:25 +00:00
01240cc9e0 Merge pull request #1071 from mariadb-corporation/fix-upgrade
Fix Upgrade
2020-03-02 10:21:23 -05:00
5ff131e726 Merge pull request #1004 from pleblanc1976/runtime-disable-oam
Runtime disable oam
2020-02-28 13:54:39 -05:00
114c5be935 MCOL-3669 Add real versioning to plugin
Make the version in information_schema.all_plugins reflect the real
version of ColumnStore.
2019-12-13 19:19:16 +00:00
653f4e1009 MCOL-3649 Fix separated build RPMs
The metadata for separated build was using the old component names so
wasn't applied. This caused the packages to be difficult to install.
2019-12-06 07:45:21 +00:00
7489d0bfd0 MCOL-3625 Rename packages
Rename packages to MariaDB-columnstore-engine, MariaDB-columnstore-libs
and MariaDB-columnstore-platform.

Also add the "columnstore-" prefix the the components so that MariaDB's
packaging system understands then and add a line to include them in
MariaDB's packaging.

In addition
* Fix S3 building for dist source build
* Fix Debian 10 dependency issue
* Fix git handling for dist builds
* Add support for MariaDB's RPM building
* Use MariaDB's PCRE and readline
* Removes a few dead files
* Fix Boost noncopyable includes
2019-12-04 11:04:39 +00:00
efe829784d MCOL-3624 Move jemalloc to an LD_PRELOAD
Linking will become an issue for the unified build and it is an issue
for jemalloc 5.x. Instead we will LD_PRELOAD on the forked ColumnStore
specific processes.
2019-12-03 21:21:28 +00:00
9037dd54d9 Fix RPM building
Changing the module file path cause RPMs to not install due to trying to
create /var/lib and /var
2019-11-14 21:50:29 +00:00
8ab9ebb0f4 MCOL-3606 Make ColumnStore use generic paths
ColumnStore now uses standard bin/lib paths for pretty much everything.
Data path is now hard-coded to /var/lib/columnstore.

This patch also:

* Removes v1 decompression
* Removes a bunch of unneeded files
* Removes COLUMNSTORE_INSTALL_DIR / $INSTALLDIR
* Makes my.cnf.d work for all platforms (MCOL-3558)
* Changes configcpp to use recursive mutex (fixes possible config write deadlock)
* Fixes MCOL-3599 Fix regr functions, The library was installed in the wrong location
* Fixes a bunch of Ubuntu packaging issues
* Changes the binary names of several of the executables so as not to
clash with potential executables from other packages
2019-11-09 16:53:05 +00:00
cdc570bf42 Repairs develop build mode w OAM disabled. Now one can use
-DSKIP_OAM_INIT=1 instead of using environmental variable.
2019-05-13 18:32:35 +03:00
4a7c461808 Fix for newer version of CMake/CPack 2019-05-07 14:08:14 -05:00
138a6c5592 move cmake scripts to cmake folder
add boost super build project (currently disabled)
declare BOOST_NO_CXX11_SCOPED_ENUMS on projects that use boost::filesystem
2019-04-19 11:00:43 -05:00