1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-09-11 08:50:45 +03:00
Commit Graph

5288 Commits

Author SHA1 Message Date
Denis Khalikov
4a0150e93d MCOL-4810 Redundant copying and wasting memory in PrimProc
This patch eliminates a copying `long string`s into the bytestream.
2021-08-27 14:13:02 +03:00
Leonid Fedorov
ea622eec93 Bugfixes from develop (#2095)
* MaxConcurrentTransactions were not cleared when config is wrong (#2093)

* Wrong concatenation in between predicate (#2092)

* We forgot to initilize longdoublenull value (#2091)

* WriteBatchFieldMariaDB m_type was wrong (#2090)

* moda returned local object pointer (#2089)

* Wrong power of 2 in esimator` (#2088)

* targetDbroot should be assined, not compared (#2087)

* obviously wrong bytesTx assignment (#2086)

* GetInterrupted returned bool instead of bool * (#2085)
2021-08-19 10:02:09 -05:00
Leonid Fedorov
e79c9ef1a3 One more bool* to bool cast bug (#2098) 2021-08-19 10:00:27 -05:00
benthompson15
f88914df28 MCOL-1356: Add convert_tz (#2096) 2021-08-19 09:59:46 -05:00
Gagan Goel
1206542054 Merge pull request #2080 from dhall-MariaDB/MCOL-3741-dev6
Mcol 3741 dev6 Change IDB-xxxx error codes to MCS-xxxx
2021-08-18 14:05:30 -04:00
mariadb-RomanNavrotskiy
388d1c51f5 ci: disable preventing running mariadb service on pkgs installation 2021-08-17 14:52:03 +02:00
David Hall
ea92671929 MCOL-3741 dev6 Change mtr IDB-xxx error codes to MCS-xxxx 2021-08-10 12:06:20 -05:00
David Hall
0b17568ae2 MCOL-3741 dev6 Change IDB-xxxx error codes to MCS-xxxx 2021-08-10 12:05:33 -05:00
benthompson15
5fda82d296 Merge pull request #2078 from dhall-MariaDB/MCOL-4771-dev6
MCOL-4771 develop fix crash from rand()
2021-08-09 12:36:26 -05:00
David Hall
c287c8d90a MCOL-4771 develop fix crash from rand()
The code inserted to handle multiple rand() calls is unneeded and was not thread safe, causing the crash. The code added to make certain function objects use fDynamicFunctor handles the multiple rand() problem.
2021-08-09 10:14:49 -05:00
benthompson15
0e55789deb MCOL-4773: fix grep for mcsapikey value to allow '=' characters in key (#2068) 2021-08-05 10:48:51 -05:00
Roman Nozdrin
d66be74105 Merge pull request #2070 from tntnatbry/MCOL-4805-develop-6
MCOL-4805 For functions in the plugin code that disable replication on the
2021-08-05 14:00:26 +03:00
Gagan Goel
0c06aa1bd9 MCOL-4805 For functions in the plugin code that disable replication on the
slave threads, we now check for this condition early on in the function block.
2021-08-04 23:44:29 +00:00
Roman Nozdrin
ef89ef4155 Merge pull request #2061 from mariadb-corporation/bar-develop-6-MCOL-4823
MCOL-4823 WHERE char_col<varchar_col returns a wrong result of a larg…
2021-08-03 11:53:32 +03:00
Alexander Barkov
d569eec27c MCOL-4823 WHERE char_col<varchar_col returns a wrong result of a large table
SCommand StrFilterCmd::duplicate() missed these two lines:

    filterCmd->leftColType = leftColType;
    filterCmd->rightColType = rightColType;

which exist in the parent's FilterCommand::duplicate().

Rewriting the code to avoid duplication by using more inherited
methods/constructors. This reduces the probability of similar bugs
in the future.
2021-07-30 06:43:32 +04:00
Gagan Goel
e0b86263e4 Merge pull request #2062 from dhall-MariaDB/MCOL-4719
MCOL-4719 iterate into subquery looking for windowfunctions
2021-07-29 11:15:10 -04:00
mariadb-RomanNavrotskiy
ecad234fec update debian server dependency to 10.6 (#2058) 2021-07-26 11:24:55 +03:00
mariadb-RomanNavrotskiy
ab0fe22c76 ci: new branch mappings (#2054)
* ci: new branch mappings

* bump deb dependency to 10.7
2021-07-26 10:56:13 +03:00
David Hall
a202bda485 MCOL-4719 iterate into subquery looking for windowfunctions
When an outer query filter accesses an subquery column that contains an aggregate or a window function, certain optimizations can't be performed. We had been looking at the surface of the returned column. We now iterate into any functions or operations looking for aggregates and window functions.
2021-07-22 13:56:21 -05:00
Roman Nozdrin
4cdef40a55 Merge pull request #2052 from drrtuy/MCOL-4815
MCOL-4815 ColumnCommand was replaced with a set of derived classes sp…
2021-07-21 17:36:35 +03:00
Roman Nozdrin
a292585b8c MCOL-4815 ColumnCommand was replaced with a set of derived classes specified by
column width

RTSCommand was modified to use a fabric that produces CC class based on column width

NB this patch doesn't affect PseudoCC that also leverages ColumnCommand
2021-07-21 12:54:14 +00:00
benthompson15
ce9207cd7f Remove excessive logging (#2055) 2021-07-20 10:22:22 -05:00
Gagan Goel
c5502c02fa Rename columnstore_use_cpimport_for_cache_inserts system variable to (#2053)
columnstore_cache_use_import.
2021-07-19 12:47:15 -05:00
Roman Nozdrin
8637c1e1a8 Merge pull request #2051 from denis0x0D/LZ4_disable
MCOL-4814 Add a cmake build option to enable LZ4 compression.
2021-07-17 08:20:32 +03:00
Denis Khalikov
fa8dc815a7 MCOL-4814 Add a cmake build option to enable LZ4 compression.
This patch adds an option for cmake flags to enable lz4 compression.
2021-07-16 17:57:11 +03:00
Roman Nozdrin
a5135f11b7 Merge pull request #2050 from benthompson15/fixWarnings
Fix warnings for vla, unused variables.
2021-07-15 20:08:16 +03:00
benthompson15
91945fe271 Fix warnings for vla, unused variables. 2021-07-14 20:08:46 -05:00
benthompson15
2ae3da45eb MCOL-1175: add ability to encrypt CEJ password and use in Columnstore.xml (#2045) 2021-07-13 11:42:36 -05:00
Roman Nozdrin
d802407c50 Merge pull request #2048 from tntnatbry/MCOL-4791-revert
MCOL-4791 Revert changes
2021-07-13 17:19:36 +03:00
Gagan Goel
b3a560300c Revert "Merge pull request #2022 from mariadb-corporation/bar-develop-MCOL-4791"
This reverts commit 4016e25e5b, reversing
changes made to 85435f6b1e.
2021-07-13 11:06:56 +00:00
Gagan Goel
90e5218c71 Revert "Merge pull request #2027 from mariadb-corporation/bar-develop-MCOL-4791"
This reverts commit 643c06b7fe, reversing
changes made to c679b11ef6.
2021-07-13 10:56:23 +00:00
benthompson15
6e45c125c7 Merge pull request #2047 from dhall-MariaDB/develop
Disable the non-deterministic mcs211 test
2021-07-12 17:53:33 -05:00
David.Hall
10cc1159a2 Merge pull request #2040 from tntnatbry/MCOL-641-move-mtr-tests
MCOL-641 Move MTR tests from future/ to basic/
2021-07-12 15:47:45 -05:00
Roman Nozdrin
51e9ff4ecb Merge pull request #2018 from mariadb-SergeyZefirov/MCOL-4779-invalid-extent-ranges-for-short-character-columns
Mcol 4779 invalid extent ranges for short character columns
2021-07-12 23:10:18 +03:00
David.Hall
2b37c2c7bc Merge pull request #2046 from denis0x0D/MCOL-4786_fix_regression
[MCOL-4786] Fix filter comparison.
2021-07-12 13:51:42 -05:00
David Hall
497d12e08f Remove the non-deterministic mcs211 test 2021-07-12 12:26:41 -05:00
Denis Khalikov
dc51dbf6cf [MCOL-4786] Fix filter comparison.
Compare ParseTree by dereferencing pointers.
2021-07-12 19:18:02 +03:00
Gagan Goel
78dbf3a7e1 MCOL-641 Move MTR tests from future/ to basic/ 2021-07-12 13:01:45 +00:00
Gagan Goel
3d557a2f1e Merge pull request #2044 from dhall-MariaDB/MCOL-3738
MCOL-3738 COUNT(DISTINCT) with multiple parms
2021-07-12 07:34:56 -04:00
Sergey Zefirov
6eaee180f3 MCOL-4779 Keep correct ranges during DML for short char columns 2021-07-12 14:07:39 +03:00
Roman Nozdrin
4069a48f42 Merge pull request #2043 from mariadb-corporation/MCOL-4603-replace-long-double
Fix sumavgoverflow.sql regression test and future.mcol641-aggregate from MTR
2021-07-10 10:08:36 +03:00
Leonid Fedorov
51a8ffcb6a Fix sumavgoverflow.sql test 2021-07-09 22:41:28 +00:00
Roman Nozdrin
a72944263c Merge pull request #2034 from mariadb-SergeyZefirov/MCOL-2044-make-tests-more-resilient
Mcol 2044 make tests more resilient
2021-07-09 20:13:34 +03:00
Sergey Zefirov
69eec2cc0f MCOL-2044 Test sources made more resilient 2021-07-09 18:21:08 +03:00
David Hall
76607be63a MCOL-3738 COUNT(DISTINCT) with multiple parms
Fixed regression
Added a few more mtr tests
2021-07-09 09:07:03 -05:00
Roman Nozdrin
4d265472ee Merge pull request #2036 from mariadb-SergeyZefirov/MCOL-4766-UPDATE-INSERT-in-a-transaction-does-not-revert-back-extent-ranges-on-a-rollback
MCOL-4766 ROLLBACK kept ranges changed inside rolled back transaction
2021-07-09 16:33:06 +03:00
Roman Nozdrin
c4a7d6728a Merge pull request #2041 from denis0x0D/lz4-deb
Add LZ4 libs for debian depends
2021-07-09 14:38:00 +03:00
Roman Nozdrin
0bde167912 Merge pull request #2042 from denis0x0D/MCOL-4713_1
MCOL-4786 Fix wrong comparison for the filters.
2021-07-09 14:37:42 +03:00
Denis Khalikov
5ec1f56691 Add LZ4 libs for debian depends 2021-07-09 12:50:16 +03:00
Denis Khalikov
adace6e0c7 MCOL-4786 Fix wrong comparison for the filters.
Fix wrong comparison for the filters while creating case function.
2021-07-09 12:18:26 +03:00