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

1706 Commits

Author SHA1 Message Date
David Hall
750b6ea0ff MCOL-3314 When setting up statistics functions for the UM, use values that actually exist. 2019-05-17 12:43:18 -05:00
Andrew Hutchings
45df72a416 Fix issue during merge 2019-05-14 14:36:46 +01:00
Andrew Hutchings
ee6575b013 Merge branch 'develop-1.1' into develop-1.2-merge-up-20190514 2019-05-14 14:26:41 +01:00
Andrew Hutchings
020b211bb7 Merge branch 'develop-1.2' into develop-merge-up-20190514 2019-05-14 13:58:33 +01:00
Roman Nozdrin
7e2cb05624 MCOL-537 There are no CS-specific warnings building with gcc 8.2. 2019-05-07 16:00:05 +03:00
Sergey Sedov
12d9e2ec95 fixup! MCOL-2051: CS uses 'NULL' literal as NULL when UPDATEs varchar field
Fixed to retain compatibility with CentOS 6 (no C++11 support).
Moved initialization to the ColumnAssignment constructor.
2019-05-02 10:16:45 +03:00
Sergey Sedov
83aad0c7b1 MCOL-2051: CS uses 'NULL' literal as NULL when UPDATEs varchar field: proxying NULL value. Note: empty strings are still considered NULLs later on. 2019-04-30 13:59:00 +03:00
Roman Nozdrin
9dc33c4e82 Another try to cope with warnings under gcc 8.2. 2019-04-29 11:05:03 +03:00
Patrick LeBlanc
cbbf267e88 MCOL-537, cleanup compiler warnings. Checkpointing a bunch of fixes.
Work in progress...
2019-04-29 10:56:48 +03:00
David Mott
56767ae793 Add a few missing qualifiers 2019-04-29 01:28:55 -05:00
David Mott
4b9d046c6e 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-29 01:21:15 -05:00
Andrew Hutchings
1813add162 Merge pull request #743 from davidjmott/develop
Add -DSERVER_BUILD_DIR configure parameter to interrogate the server …
2019-04-26 14:02:20 +01: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
8b715fed44 permit script execution when sources reside on non-executable file system 2019-04-25 22:41:26 -05:00
Andrew Hutchings
291fbac506 Fix merge issue 2019-04-25 10:51:02 +01:00
Andrew Hutchings
784bbe09d4 Merge branch 'develop-1.2' into develop-merge-up-20190425 2019-04-25 10:27:59 +01:00
Roman Nozdrin
f4f053dd8c MCOL-3267 CS now executes sorting inside UNION ALL sub-selects. 2019-04-23 14:34:49 +03: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
Gagan Goel
e89d1ac3cf MCOL-265 Add support for TIMESTAMP data type 2019-04-23 00:00:09 -04: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
67880c2319 Fully qualify ambiguous isnan() with std:: 2019-04-17 17:28:47 -05:00
Andrew Hutchings
19ebde8b2a Merge pull request #732 from mariadb-corporation/replication-option
MCOL-593 Add optional MariaDB replication support
2019-04-15 19:56:36 +03: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
Andrew Hutchings
f9f966fe96 MCOL-593 Add optional MariaDB replication support
This patch will allow MariaDB replication into UM1 when enabling the
following is added to the SystemConfig section of Columnstore.xml:

<ReplicationEnabled>Y</ReplicationEnabled>

The intended use case is to replication from an InnoDB MariaDB server
into ColumnStore. You would need to create the tables on the ColumnStore
slave as "ColumnStore" and the same tables in the master as InnoDB.

At the moment the use case is narrow and could be prone to problems so
this will use the hidden flag until we can improve it.
2019-04-15 14:45:34 +01: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
Andrew Hutchings
8825c0928b Merge pull request #730 from mariadb-corporation/MCOL-1559
Mcol 1559
2019-04-11 08:00:02 +01:00
David Hall
28e743bf38 MCOL-1559 remove unused boost/trim header 2019-04-10 08:46:15 -05:00
David Hall
d78944d9ff MCOL-1559 backout trim before setting compare. Shouldn't do this in all cases. 2019-04-09 17:08:03 -05:00
David Hall
b6484dda4a MCOL-1559 trim constant varchar string before adding filter 2019-04-09 16:57:21 -05:00
David Hall
e2cb644484 MCOL-1559 trailing space compare 2019-04-09 16:34:45 -05:00
David Hall
5b581f53cb MCOL-1559 trailing space compare 2019-04-09 13:09:29 -05:00
Andrew Hutchings
6f15c97591 MCOL-2061 Add upgrade path to rebuild FRM files
A major upgrade (1.1 -> 1.2 for example) may have issues due to stale
FRM table IDs. This commit adds a stored procedure that changes the
table comment to empty on every ColumnStore table to repair the IDs.

The user should run this as part of the upgrade procedure between major
versions.
2019-04-04 15:32:38 +01:00
David Hall
8d553ae9fb MCOL-1559 trim spaces before compare 2019-04-02 11:14:40 -06:00
David Hall
aa802f44c5 MCOL-1559 trailing white space comparison 2019-03-29 08:37:16 -06:00
David Hall
e5d76e142b MCOL-1559 Some string trailing blank stuff 2019-03-28 15:25:49 -06:00
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
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
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
26e61546bd Merge pull request #705 from drrtuy/MCOL-2160
MCOL-2160 MCOL-1883 RENAME now supports both '/' symbols in table names and crash described in MCOL-1883 has been fixed.
2019-03-07 15:08:18 +05:30
David Hall
e9a920b4e8 MCOL-1951 Don't crash when MariaDB UDAF not defined in Columnstore 2019-03-06 13:57:49 -06:00
Andrew Hutchings
6ba299cccd Merge branch 'develop-1.2' into MCOL-1822-c 2019-03-06 06:47:46 -05:00
Andrew Hutchings
e5758b794b Merge pull request #700 from mariadb-corporation/MCOL-901_2
MCOL-901 group_concat() uses only a subset of unique values
2019-03-06 06:21:42 -05:00
Roman Nozdrin
79aca9a285 MCOL-2160 MCOL-1883 RENAME now supports both '/' symbols in table names and
doesn't crash on multi-RENAME statements when non-alphanumeric
    chars are presented in table names.

    Replaced INFINIDB_DEBUG with MCS_DEBUG in ha_calpont_ddl.cpp

    Removed unused debug outputs.
2019-03-06 12:55:53 +03:00
David Hall
38d077d72f MCOL-1822 Change scanFlags back to bool (had changed to int for debugging) 2019-03-05 10:00:15 -06:00
David Hall
0ea4ccfe06 MCOL-1822 colWidth should be sizeof(long double), not hardcoded 16 2019-03-05 09:49:11 -06:00
David Hall
b7606139d7 MCOL-1822 Typo repair. Should be long double, not double 2019-03-05 09:45:34 -06:00
David Hall
3f2c753947 MCOL-1822-c final checkin 2019-03-05 09:33:39 -06:00
David Hall
9e1cec56b1 MCOL-1822 finishing up use long double for SUM/AVG 2019-03-01 17:34:57 -06:00
Roman Nozdrin
947eaaef26 MCOL-901 group_concat() uses only a subset of unique values
b/c an incorrect number of key columns was used whilst
        initializing Eq() struct. The regression caused by
        changes made for MCOL-1829 so I revised the changes
        made. Now LimitedOrderBy::getKeyLength() returns an
        actual key columns count.
2019-03-02 02:01:41 +03:00