Leonid Fedorov
bbd609585f
Replace mirror to vault due end of life of Centos8
2022-02-01 21:25:51 +00:00
benthompson15
36775168d3
MCOL-4940: getLongDoubleVal was not handling all colDataType correctly ( #2229 )
2022-01-31 13:46:13 -06:00
Roman Nozdrin
a65b03e222
Merge pull request #2137 from mariadb-corporation/clang-format
...
Introduced clang-format
2022-01-24 17:32:44 +03:00
Leonid Fedorov
04752ec546
clang format apply
2022-01-21 16:43:49 +00:00
Leonid Fedorov
6b6411229f
build fixes
2022-01-21 16:34:04 +00:00
Leonid Fedorov
5af2e70712
circular header fixe
2022-01-21 15:24:58 +00:00
Leonid Fedorov
01f3ceb437
replace header guards with #pragma once
2022-01-21 15:24:58 +00:00
Leonid Fedorov
ab449ebcc0
.clang-format
2022-01-21 15:24:58 +00:00
Roman Nozdrin
489ae80b56
Merge pull request #2223 from drrtuy/MDEV-27519-crc32-dev
...
MDEV-27519 CRC32() upon Columnstore table returns a wrong value
2022-01-21 17:27:22 +03:00
Marko Mäkelä
15da99477e
MDEV-27519 CRC32() upon Columnstore table returns a wrong value
...
Func_crc32::getIntVal(): Support the 2-ary CRC32() variant (MDEV-27208).
Also, do not assume that the string contains no NUL bytes.
2022-01-21 09:35:19 +00:00
Roman Nozdrin
cc850bfe08
Merge pull request #2221 from mariadb-corporation/develop-10.8
...
upd branch mapping: add 10.8
2022-01-19 21:42:22 +03:00
mariadb-RomanNavrotskiy
121c359238
upd branch mapping: add 10.8
2022-01-19 13:29:46 +02:00
Roman Nozdrin
91b38d279d
Merge pull request #2217 from drrtuy/develop-version-8
...
Bumped VERSION to 8.1.1
2022-01-18 12:48:30 +03:00
Roman Nozdrin
f58c930e92
Bumped VERSION to 8.1.1
2022-01-18 08:35:09 +00:00
Roman Nozdrin
7cfcdf365d
Merge pull request #2211 from drrtuy/MCOL-4899-dev
...
MCOL-4899 MCS now applies a correct collation running IN for characte…
2022-01-06 21:08:11 +03:00
Roman Nozdrin
29f3fea118
Merge pull request #2213 from tntnatbry/MCOL-4936
...
MCOL-4936 Disable binlog for DML statements.
2022-01-06 13:17:29 +03:00
Roman Nozdrin
05897948e4
MCOL-4899 MCS now applies a correct collation running IN for character data types
2022-01-05 12:00:01 +00:00
Gagan Goel
195425924d
MCOL-4936 Disable binlog for DML statements.
...
DML statements executed on the primary node in a ColumnStore
cluster do not need to be written to the primary's binlog. This
is due to ColumnStore's distributed storage architecture.
With this patch, we disable writing to binlog when a DML statement
(INSERT/DELETE/UPDATE/LDI/INSERT..SELECT) is performed on a ColumnStore
table. HANDLER::external_lock() calls are used to
1. Turn OFF the OPTION_BIN_LOG flag
2. Turn ON the OPTION_BIN_TMP_LOG_OFF flag
in THD::variables.option_bits during a WRITE lock call.
THD::variables.option_bits is restored back to the original state
during the UNLOCK call in HANDLER::external_lock().
Further, isDMLStatement() function is added to reduce code verbosity
to check if a given statement is a DML statement.
Note that with this patch, not writing to primary's binlog means
DML replication from a ColumnStore cluster to another ColumnStore
cluster or to another foreign engine will not work.
2022-01-04 17:31:59 +00:00
Roman Nozdrin
edf404724c
Merge pull request #2210 from drrtuy/MCOL-3721-dev
...
The goal is to migrate the last offending regr test001 test case into…
2021-12-31 14:33:14 +03:00
Roman Nozdrin
4297d5f8b3
Merge pull request #2207 from denis0x0D/error_handle_dev
...
Handle error during parsing of bytestream.
2021-12-30 22:25:00 +03:00
Roman Nozdrin
695b437730
The goal is to migrate the last offending regr test001 test case into MTR to make test001 green
2021-12-30 19:12:58 +00:00
Denis Khalikov
1b6d278404
Handle error during parsing of bytestream.
...
The error can occur in case we send the bytestream with `old` format header.
2021-12-30 12:30:21 +03:00
Roman Nozdrin
b3ab3fb514
Merge pull request #2203 from mariadb-AlexeyAntipovsky/auto-query-stats
...
[MCOL-4944] Automatically enable stats collection
2021-12-23 15:13:43 +03:00
Roman Nozdrin
94806e7ee0
Merge pull request #2200 from drrtuy/MCOL-4943-dev
...
MCOL-4943 Moved SQL script call into columnstore-post-install
2021-12-21 11:18:07 +03:00
Alexey Antipovsky
683a6b3d19
[MCOL-4944] Automatically enable stats collection
...
if it is enabled in the config
2021-12-21 11:15:25 +03:00
Roman Nozdrin
82e6c50b3e
Merge pull request #2202 from tntnatbry/MCOL-4264-testcases
...
MCOL-4868 Move test cases for MCOL-4264 to MTR.
2021-12-21 09:13:58 +03:00
Gagan Goel
8cab54fe31
MCOL-4868 Move test cases for MCOL-4264 to MTR.
2021-12-20 18:34:08 +00:00
Roman Nozdrin
41f4b9ef65
Merge pull request #2198 from drrtuy/MCOL-4871-dev
...
Mcol 4871 dev
2021-12-18 07:03:11 +03:00
Roman Nozdrin
22b0e4addc
MCOL-4943 Moved SQL script call into columnstore-post-install
2021-12-18 03:59:58 +00:00
Roman Nozdrin
a31066ff0e
MCOL-4871 This patch adds relevant tests
2021-12-17 17:41:07 +00:00
Roman Nozdrin
7b5845a4aa
MCOL-4871 Bar's patch to do proper extent elimination for short CHAR
2021-12-17 17:41:03 +00:00
Roman Nozdrin
753fc26dda
Merge pull request #2196 from tntnatbry/MCOL-4868
...
MCOL-4868 UPDATE on a ColumnStore table containing an IN-subquery
2021-12-17 08:00:24 +03:00
Gagan Goel
7f456e58cc
MCOL-4868 UPDATE on a ColumnStore table containing an IN-subquery
...
on a non-ColumnStore table does not work.
As part of MCOL-4617, we moved the in-to-exists predicate creation
and injection from the server into the engine. However, when query
with an IN Subquery contains a non-ColumnStore table, the server
still performs the in-to-exists predicate transformation for the
foreign engine table. This caused ColumnStore's execution plan to
contain incorrect WHERE predicates. As a fix, we call
mutate_optimizer_flags() for the WRITE lock, in addition to the READ
table lock. And in mutate_optimizer_flags(), we change the optimizer
flag from OPTIMIZER_SWITCH_IN_TO_EXISTS to OPTIMIZER_SWITCH_MATERIALIZATION.
2021-12-16 23:11:26 +00:00
Roman Nozdrin
6144e6ff99
Merge pull request #2195 from mariadb-AlexeyAntipovsky/ddlproc_conbug_dev
...
[MCOL-4927] Fix DDLProc connection processing
2021-12-16 18:55:55 +03:00
Alexey Antipovsky
6c31f105ec
[MCOL-4927] Fix DDLProc connection processing
2021-12-16 16:36:55 +03:00
Roman Nozdrin
4e6dba2d42
Merge pull request #2180 from drrtuy/MCOL-4832-dev
...
MCOL-4832 Removing needless error output
2021-12-15 19:21:50 +03:00
Roman Nozdrin
199d89f681
MCOL-4832 Removing needless error output
2021-12-15 10:35:03 +00:00
Roman Nozdrin
e8bf1f10a2
Merge pull request #2189 from mariadb-corporation/werror
...
Turn on Werror
2021-12-15 09:35:23 +03:00
Leonid Fedorov
d0e1b721f3
Turn on Werror
2021-12-14 18:43:08 +03:00
Roman Nozdrin
6c82951158
Merge pull request #2184 from mariadb-corporation/c7-pcre
...
centos 7 pcre2 build dep
2021-12-14 18:41:48 +03:00
Leonid Fedorov
01a06c0eba
opensuse pcre2 build dep
2021-12-14 17:45:35 +03:00
Roman Nozdrin
34bd759241
Merge pull request #2183 from drrtuy/MCOL-4809-dev
...
Mcol 4809 dev
2021-12-14 17:32:09 +03:00
mariadb-RomanNavrotskiy
eea6ec2151
centos 7 pcre2 build dep
2021-12-10 17:52:16 +02:00
Roman Nozdrin
54a5623569
MCOL-4809 Review suggestions patch
2021-12-10 10:30:08 +00:00
Roman Nozdrin
af36f9940f
This patch introduces support for scanning/filtering vectorized execution for numeric-based
...
data types TEXT, CHAR, VARCHAR, FLOAT and DOUBLE are not yet supported by vectorized path
This patch introduces an example for Google benchmarking suite to measure a perf diff
b/w legacy scan/filtering code and the templated version
2021-12-10 10:30:00 +00:00
Roman Nozdrin
cac23b0afc
Merge pull request #2170 from tntnatbry/MCOL-4874
...
MCOL-4874 Crossengine JOIN involving a ColumnStore table and a
2021-12-09 09:59:01 +03:00
Gagan Goel
340a90fc8d
MCOL-4874 Crossengine JOIN involving a ColumnStore table and a
...
wide decimal column in a non-ColumnStore table throws an exception.
ROW::getSignedNullValue() method does not support wide decimal fields
yet. To fix this exception, we remove the call to this method from
CrossEngineStep::setField().
2021-12-08 22:26:52 +00:00
Roman Nozdrin
25237b4ba8
MCOL-4750 This patch temporary disables autoConfigure b/c the server team doesn't like camel-case naming ( #2166 )
...
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com >
2021-12-07 12:06:37 -06:00
Gagan Goel
d91cab2ff5
MCOL-4925 Suppress the warning message when a non-cached table is ( #2164 )
...
dropped with the insert cache enabled.
2021-12-06 11:27:37 -06:00
Roman Nozdrin
6f1c0d6c5a
Merge pull request #2157 from denis0x0D/warnings
...
[MCOL-4849] Fix build warnings.
2021-11-25 12:14:07 -06:00