Skip to content

Commit 13ce0cf

Browse files
Merge branch 'stable-23.10' into MCOL-4628-SET-DOUBLE_COL-TO-DECIMAL_COL-RETURNS-ERROR
2 parents 42c168d + 4f3ed2a commit 13ce0cf

File tree

543 files changed

+20737
-11767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

543 files changed

+20737
-11767
lines changed

.drone.jsonnet

Lines changed: 258 additions & 346 deletions
Large diffs are not rendered by default.

BUILD.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ git clone https://github.com/MariaDB/server.git
2121
MariaDB server contains many git submodules that need to be checked out with:
2222

2323
```bash
24-
git submodule update --init --recursive --depth=1
24+
git submodule update --init --recursive
2525

2626
```
2727

@@ -46,12 +46,27 @@ git config --global --add safe.directory `pwd`
4646

4747
## Build
4848

49-
Regarding dependencies: If this is the first time building MCS on your system you should either use the `./install-deps.sh` script or pass `--install-deps` to the `bootstrap_mcs.sh` script.
49+
The `bootstrap_mcs.sh` script can now do **two** main things:
5050

51-
For development convenience, building the MariaDB server with MCS can be done with:
51+
1. **Build & install** ColumnStore into your system
52+
```bash
53+
cd server/storage/columnstore/columnstore
5254

55+
sudo build/bootstrap_mcs.sh --install-deps
5356
```
54-
sudo -E build/bootstrap_mcs.sh
57+
58+
2. **Build native OS packages** (RPM or DEB)
59+
60+
```bash
61+
cd server/storage/columnstore/columnstore
62+
sudo build/bootstrap_mcs.sh --install-deps --build-packages
63+
# → find your .rpm/.deb files in the build directory
5564
```
65+
Note: Packages can be built only for the OS you’re on—for so for example if you are running --build-packages on Rocky Linux it will produce RPMs for Rocky.
66+
You can see the full options list in the script itself
67+
68+
> **Supported distros:**
69+
> Ubuntu:20.04/22.04/24.04, Debian:11/12, Rocky Linux:8/9
70+
71+
5672

57-
Tested for: Ubuntu:20.04/22.04, CentOS:7, Debian:10/11, RockyLinux:8

CMakeLists.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,20 @@ include(columnstore_version)
4747
include(configureEngine)
4848
include(compiler_flags)
4949
include(misc)
50+
include(cpack_manage)
51+
include(selinux_policy)
52+
53+
if(NOT __msg1_CS_NO_CXX20)
54+
add_subdirectory(dbcon/mysql)
55+
endif()
56+
if(NOT TARGET columnstore)
57+
return()
58+
endif()
59+
# releasenum is used by external scripts for various tasks. Leave it alone.
60+
columnstore_install_file(${CMAKE_CURRENT_BINARY_DIR}/build/releasenum ${ENGINE_SUPPORTDIR})
61+
columnstore_install_file(${CMAKE_CURRENT_BINARY_DIR}/gitversionEngine ${ENGINE_SUPPORTDIR})
5062

5163
set(COMPONENTS
52-
dbcon/mysql
5364
utils
5465
oam/oamcpp
5566
dbcon/execplan

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
COLUMNSTORE_VERSION_MAJOR=23
22
COLUMNSTORE_VERSION_MINOR=10
3-
COLUMNSTORE_VERSION_PATCH=4
3+
COLUMNSTORE_VERSION_PATCH=6
44
COLUMNSTORE_VERSION_RELEASE=1

build/asan_options.cpp.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
extern "C" const char* __asan_default_options()
2+
{
3+
return "@COLUMNSTORE_STANDALONE_BINARIES_ASAN_COPTIONS@";
4+
}

0 commit comments

Comments
 (0)