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

2852 Commits

Author SHA1 Message Date
David Mott
0f760d34b3 remove faulty test code 2019-04-26 09:40:35 -05:00
David Mott
15c32babe7 Merge branch 'branches/davidjmott/cxx11_stage2' of https://github.com/davidjmott/mariadb-columnstore-engine into branches/davidjmott/cxx11_stage2
# Conflicts:
#	exemgr/main.cpp
2019-04-26 08:47:18 -05:00
David Mott
f8b5fed978 Fully resolve potentially ambiguous symbols by removing using namespace statements from headers which have a cascading effect. This causes potential behavior changes when switching to c++11 since symbols can be exported from std and boost while both have been imported into the global namespace. 2019-04-26 08:40:21 -05:00
David Mott
f6fb523d65 Fully resolve potentially ambiguous symbols by removing using namespace statements from headers which have a cascading effect. This causes potential behavior changes when switching to c++11 since symbols can be exported from std and boost while both have been imported into the global namespace. 2019-04-26 08:21:47 -05:00
David Mott
35ab11cbb6 remove std::auto_ptr 2019-04-26 04:46:46 -05:00
David Mott
e65f80f493 delete visual c++ project files. cmake can generate these if needed 2019-04-25 23:35:03 -05:00
David Mott
40194c2f3c remove unnecessary build target 2019-04-25 22:58:17 -05:00
David Mott
8b715fed44 permit script execution when sources reside on non-executable file system 2019-04-25 22:41:26 -05:00
David Mott
55acbf8c5c permit execution of scripts when source is located on a non-executable file system 2019-04-25 22:15:51 -05:00
David Mott
f29f909482 Add -DSERVER_BUILD_DIR configure parameter to interrogate the server build cache and derive variables and settings 2019-04-25 06:27:28 -05:00
Andrew Hutchings
240648e7d9 Merge pull request #738 from mariadb-corporation/MCOL-498_5
MCOL-498 The knob to disable disk space preallocation for segment files.
2019-04-24 09:04:58 +01:00
Andrew Hutchings
723ca53669 Merge branch 'develop' into MCOL-498_5 2019-04-24 09:04:39 +01:00
Roman Nozdrin
ee83287c32 Merge pull request #735 from davidjmott/branches/davidjmott/enable-stdcxx11
Enable c++11 support.
2019-04-23 14:20:47 +03:00
Roman Nozdrin
22c0c98e61 MCOL-498 Reduced number of blocks created for abbreviated extents
thus reduced IO load when creating a table.
    Uncompressed abbreviated segment and dicts aren't affected by
    this b/c CS'es system catalog uses uncompressed dict files. CS
    now doesn't work with empty dicts files.
2019-04-22 20:02:04 +03:00
Roman Nozdrin
bc3c780e35 MCOL-498 Revived unit tests for writeengine/shared and add new tests
for extent extention.
Added a getter, moved some methods from protected into public to use
with unit tests, e.g createFile, setPreallocSpace. Added code stub in
FileOp::oid2FileName to use with UT.
2019-04-22 20:02:00 +03:00
Roman Nozdrin
ecbf6b7606 MCOL-498 Returned changes in we_colbufcompressed.* b/c they are neccesary
to track compressed data size.
2019-04-22 20:01:55 +03:00
Roman Nozdrin
abf7ef80c2 MCOL-498 Changes made according with review suggestions.
Add more comments.
    Changed return value for HDFS'es fallocate.
    Removed unnecessary code in ColumnBufferCompressed::writeToFile
    Replaced Nulls with Empties in variable names.
2019-04-22 20:01:50 +03:00
Roman Nozdrin
cbdcdb9f10 MCOL-498 Add DBRootX.PreallocSpace setting in the XML. Dict files extents now contain a correct number of blocks available. 2019-04-22 20:01:43 +03:00
Roman Nozdrin
29becc2971 MCOL-498 Passed test100. 2019-04-22 20:01:36 +03:00
Roman Nozdrin
46a46aa6b1 MCOL-498 Support for non dict compressed columns. 2019-04-22 20:01:30 +03:00
Roman Nozdrin
8037af5161 MCOL-498 Fill up next block with empty values if insert values up to the block boundary. 2019-04-22 20:01:26 +03:00
Roman Nozdrin
6db8b1f432 MCOL-498: Fill up the last used block with empty values, whilst doing bulk insertion with uncompressed files. 2019-04-22 20:01:23 +03:00
Roman Nozdrin
7cf0d55dd0 MCOL-498: Fill up the block with NULLs when CS touches for the first time it with INSERT..VALUES. 2019-04-22 20:01:18 +03:00
Roman Nozdrin
81fe7fa1a9 MCOL-498. Add the knob to disable segment|dict file preallocation. Dict files extension uses fallocate() if possible. 2019-04-22 20:01:14 +03:00
Roman Nozdrin
1d9f47a55c MCOL-498. Segment files extension uses fallocate() now to optimize load put on SSD disks. 2019-04-22 20:01:09 +03:00
David Mott
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
David Mott
b2810bf35d fix ambiguous symbol 2019-04-18 04:43:28 -05:00
David Mott
67880c2319 Fully qualify ambiguous isnan() with std:: 2019-04-17 17:28:47 -05:00
David Mott
241d0b0446 rollback unintended changes 2019-04-17 11:36:56 -05:00
David Mott
2a9c5387c3 Enable c++11 2019-04-17 05:03:28 -05:00
Andrew Hutchings
8a7ccd7d93 Merge pull request #734 from mariadb-corporation/MCOL-3247_2
MCOL-3247 Fixing the thread leak regression.
2019-04-16 11:09:58 +01:00
Roman Nozdrin
287b2ba7bd MCOL-3247 CS uses thread plugin variables since MCOL-1101 that aren't
good for transmiting cal_connection_info to handler::close_connection().
This variables are then erased in THD::cleanup() and the cal_connection_info
is replaced in handler::delete_table with an empty structure.
handler::close_connection() recevies cal_connection_info with empty cal_conn_hndl.
This patch uses THD::ha_data that is supposed to be used in such occasions.
2019-04-15 19:31:12 +03:00
Roman Nozdrin
34b1d44563 MCOL-3247 Add two utility functions to simplify the code:
to log the messages and to forcely close the FEP connection.
2019-04-15 12:37:04 +03:00
Roman Nozdrin
11bec446b4 Merge pull request #723 from mariadb-corporation/develop-merge-up-20190328
Merge develop-1.2 into develop
2019-03-29 19:35:34 +05:30
Andrew Hutchings
064d2ee9e4 Merge branch 'develop-1.2' into develop-merge-up-20190328 2019-03-28 15:09:21 +00:00
Patrick LeBlanc
8090d6dd9c Merge pull request #718 from drrtuy/MCOL-2244
*Merge after 1.2.3 release* MCOL-2244 Columnstore execution threads now have names
columnstore-1.2.3
2019-03-15 08:50:05 -05:00
Roman Nozdrin
a0b3424603 MCOL-2244 Columnstore execution threads now have names describe
the threads operation. This should simplify CPU bottlenecks troubleshooting.
2019-03-15 14:34:01 +03:00
Patrick LeBlanc
f2e6d8d1a8 Merge pull request #714 from mariadb-corporation/MCOL-1883
MCOL-1883 This commit fixes RENAME behavior that doesn't work properly with table     names that contains '/' sign in the middle.
2019-03-14 09:21:28 -05:00
Andrew Hutchings
384b448f89 Merge pull request #713 from mariadb-corporation/MCOL-2233
MCOL-2233 substring_index() now returns correct value when index value is negative.
2019-03-14 01:09:57 +00:00
Andrew Hutchings
0b2c71ce81 Merge pull request #717 from zdrav1/MCOL-2232
Mcol 2232
2019-03-14 01:09:21 +00:00
root
00c0f22758 MCOL-2232 fixed dummy allerts on debian of jemalloc not installed 2019-03-13 13:10:23 +02:00
root
5c8208c8bc MCOL-2232 fixed dummy allerts on debian of jemalloc not installed 2019-03-13 12:37:43 +02:00
Roman Nozdrin
d4c4a10512 MCOL-1883 This commit fixes RENAME behavior that doesn't work properly with table
names that contains '/' sign in the middle. Given the name `some/table/` in to or
from. RENAME uses a prefix to the left of the first '/', namely `some` and doesn't
consider the trailer `/table/`.
2019-03-13 13:14:26 +03:00
Roman Nozdrin
9ff348b97f MCOL-2233 substring_index() now returns correct value when
index value is negative.
The problem caused by unsigned type used to store negative
index value.
2019-03-13 13:02:17 +03:00
Andrew Hutchings
2509d833fc Merge pull request #712 from mariadb-corporation/MCOL-2182
MCOL-2182 Change in MariaDB 10.3 allows for only 2 parameters to lpad…
2019-03-08 21:38:54 +00:00
David Hall
c3f8148fff MCOL-2182 Change in MariaDB 10.3 allows for only 2 parameters to lpad and rpad 2019-03-08 15:14:42 -06:00
David.Hall
0e02d4b44b Merge pull request #710 from mariadb-corporation/1.2-merge-up-20190308
Merge develop-1.1 into develop-1.2
2019-03-08 10:43:20 -06:00
Andrew Hutchings
9e3517dfa6 Merge branch '1.1-merge-up-20190308' into 1.2-merge-up-20190308 2019-03-08 14:16:58 +00:00
Andrew Hutchings
d4418ecf64 Merge branch 'develop-1.0' into 1.1-merge-up-20190308 2019-03-08 10:27:06 +00:00
Roman Nozdrin
db47ede89f Merge pull request #708 from mariadb-corporation/MCOL-1951
MCOL-1951 Don't crash when MariaDB UDAF not defined in Columnstore
2019-03-07 22:14:12 +05:30