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

436 Commits

Author SHA1 Message Date
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
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
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
Andrew Hutchings
6ba299cccd Merge branch 'develop-1.2' into MCOL-1822-c 2019-03-06 06:47:46 -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
0ea4ccfe06 MCOL-1822 colWidth should be sizeof(long double), not hardcoded 16 2019-03-05 09:49:11 -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
David Hall
c654e8621e MCOL-1822 interim checkin 2019-02-27 13:09:37 -06:00
David Hall
a2aa4b8479 MCOL-1822 Intermediate checkin. DISTINCT not working. 2019-02-25 14:54:46 -06:00
Roman Nozdrin
eef813982c MCOL-2165 This disables correlated subqueries processing in group_by_nahdler
handing the query back to the server.
2019-02-22 19:04:45 +03:00
David Hall
c5b9ae11e5 MCOL-1822 add LONG DOUBLE support 2019-01-29 09:55:43 -06:00
Andrew Hutchings
95c4f17b0a Merge branch 'develop-1.1' into 1.2-merge-up-20190122 2019-01-22 08:26:26 +00:00
Roman Nozdrin
771988dd1f MCOL-2052 IS.columnstore_files now prints correct number of records for any relation out.
Return statement called in generate_result() returns too early.
2019-01-15 10:18:25 +03:00
Andrew Hutchings
f9a4661db6 Merge pull request #642 from drrtuy/MCOL-1716_2
MCOL-1716 Disable GROUP BY handler for queries with NOT IN and correlated subquery.
2018-11-25 21:30:36 +00:00
Roman Nozdrin
ffb3a68a86 MCOL-1716 Disable GROUP BY handler for queries with NOT IN and correlated subquery. 2018-11-25 12:24:38 +03:00
Andrew Hutchings
61579c7177 Revert "MCOL-1624 mcssystemready() does more testing"
This reverts commit 00ce77b742.
2018-11-24 21:52:33 +00:00
David Thompson
0789136dcf Merge pull request #638 from mariadb-corporation/MCOL-1624
MCOL-1624 mcssystemready() does more testing
2018-11-24 18:45:55 +01:00
David.Hall
e2f1765c53 Merge pull request #633 from mariadb-corporation/MCOL-1790
MCOL-1790 Switch to MariaDB's case type detection
2018-11-23 13:01:27 -06:00
Andrew Hutchings
00ce77b742 MCOL-1624 mcssystemready() does more testing
Now checks if system catalog exists and if we can query the system
catalogue in FE mode (and therefore tests ExeMgr and PrimProc).
2018-11-22 21:58:03 +00:00
Andrew Hutchings
f3ce33d9ea MCOL-1790 Switch to MariaDB's case type detection
MariaDB added a generic way to detect case type so remove our hack and
switch to that.
2018-11-21 11:23:12 +00:00
Roman Nozdrin
3bf269b3f7 MCOL-1519 GROUP BY handler now uses an appropriate SELECT_LEX structure.
Before that handler used an outter query SELECT_LEX that could give
	incorrect information for subquery.
2018-11-20 13:44:47 +03:00
Roman Nozdrin
77e3349b06 MCOL-1519 The GROUP BY unsupported feature check returns false positive that disables GROUP BY handler. 2018-11-19 22:41:17 +03:00
Andrew Hutchings
6672ff83a8 Merge pull request #618 from drrtuy/MCOL-1855_2
MCOL-1855 RENAME TABLE now supports tablenames with non-alphanumerical chars.
2018-11-15 12:00:02 +00:00
Andrew Hutchings
fb0dfe6ea9 Merge pull request #621 from drrtuy/MCOL-1519
MCOL-1519 GROUP BY doesn't process unsupported queries.
2018-11-15 11:50:56 +00:00
Roman Nozdrin
d95d2d7601 MCOL-1519 The server won`t use GROUP BY handler in queries with:
unsupported JOIN types
	impossible HAVING
	impossible WHERE
2018-11-14 17:50:02 +03:00
Roman Nozdrin
37e7227e75 MCOL-1855 RENAME doesn`t work with tables whose names contains special or non-ASCII chars.
Alters ha_calpont_impl_rename_table_() to decode paths received from the server.
2018-11-12 15:29:06 +03:00
Andrew Hutchings
f134f05771 Merge pull request #603 from mariadb-corporation/MCOL-1642
MCOL-1642 Add SQL command that shows Primary Front-End MariaDB Column…
2018-11-09 08:14:31 +00:00
Andrew Hutchings
c452882a79 Merge pull request #606 from mariadb-corporation/MCOL-1776
MCOL-1776 Fix MCOL-1403 regression
2018-11-08 18:32:58 +00:00
Patrick LeBlanc
8dc988d849 Merge pull request #607 from mariadb-corporation/MCOL-520
Mcol 520
2018-11-07 10:37:10 -06:00
Patrick LeBlanc
a68caad9a2 MCOL-1654. Querystats table creation broken.
Escaped the ` chars to make the shell happy.
2018-11-06 07:57:44 -06:00
Patrick LeBlanc
4fc5f3892c MCOL-1654. Querystats table creation broken.
Escaped the ` chars to make the shell happy.
2018-11-05 13:33:56 -06:00
Andrew Hutchings
166fd77e8f MCOL-1776 Fix MCOL-1403 regression
Somehow some dead code came back. It is dead again now.
2018-11-03 11:52:19 +00:00
David Hall
f34fa290b5 MCOL-1642 Add SQL command that shows Primary Front-End MariaDB ColumnStore Module 2018-11-01 11:04:41 -05:00
David Hill
9cae0ef4ff MCOL-520 2018-10-23 08:49:53 -05:00
David Hill
ef4fab8408 MCOL-520 - remove use of /usr/default/columnstore 2018-10-22 13:23:00 -05:00
Patrick LeBlanc
ac9676b612 Merge remote-tracking branch 'upstream/develop' into MCOL-520 2018-10-15 10:15:11 -05:00
Andrew Hutchings
788139f3ad Merge pull request #594 from mariadb-corporation/MCOL-1759
MCOL-1759 add the functions to install script
2018-10-12 20:03:34 +01:00
David Hall
0d33efdc5f MCOL-1759 add the functions to install script 2018-10-12 13:00:34 -05:00
Patrick LeBlanc
f3ce845842 MCOL-520. Fixed several instances where we were using a too-new
contructor to ifstream.
2018-10-10 14:58:50 -05:00
david hill
101b36acb6 Merge branch 'develop' into MCOL-520 2018-10-08 14:23:48 -05:00
Roman Nozdrin
6ee12248b8 Merge pull request #586 from mariadb-corporation/MCOL-1775
MCOL-1775 Fix addtime/subtime for WHERE
2018-10-08 11:22:42 +03:00
Andrew Hutchings
47fbf62bfe MCOL-1775 Remove warning on unused var 2018-10-08 09:20:46 +01:00
Roman Nozdrin
068b1681f1 Merge pull request #582 from mariadb-corporation/1.1-merge-up-2018-10-05
Merge develop-1.1 into develop
2018-10-08 10:43:33 +03:00
Andrew Hutchings
6a72b28bab MCOL-1775 Fix addtime/subtime for WHERE
MariaDB server renamed addtime/subtime so we need to use the new names
for these functions.
2018-10-06 11:27:51 +01:00
Andrew Hutchings
f1f13a09d1 Merge branch 'develop-1.1' into 1.1-merge-up-2018-10-05 2018-10-05 18:40:07 +01:00
Roman Nozdrin
035c93fe88 MCOL-1771 Removed extra debug output from release builds. 2018-10-05 19:45:17 +03:00
David Hall
dc9ba90f96 MCOL-521 add regr_intecept and regr_r2 2018-09-28 13:51:43 -05:00
David Hall
b8bf311c51 Merge branch 'develop' into MCOL-521-b 2018-09-25 16:33:46 -05:00