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
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
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
Andrew Hutchings
064d2ee9e4
Merge branch 'develop-1.2' into develop-merge-up-20190328
2019-03-28 15:09:21 +00: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
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
Andrew Hutchings
baf07211f9
Merge pull request #698 from drrtuy/MCOL-1101
...
MCOL-1101 Replace system variables with plugin variables where possible.
2019-02-19 10:48:56 +00:00
Andrew Hutchings
a955b56f4d
Merge branch 'develop-1.2' into develop-merge-up-20190218
2019-02-18 15:55:11 +00:00
Roman Nozdrin
06696f596a
MCOL-1101 Add plugin variables to replace the legacy system vars.
...
Legacy system vars with names infinidb_* was preserved for
backward compatibility and they will be used if
columnstore_use_legacy_vars variable is set.
Remove unused structure and plugin variable.
2019-02-18 16:13:50 +03:00
Roman Nozdrin
d22183e195
MCOL-1101 Move client UDFs into a separate file.
...
Remove rmParms from ha_calpont_impl.cpp
2019-02-13 22:09:55 +03:00
Roman Nozdrin
ca0240037a
FE connection info structure migration.
...
Replaced INFINIDB_VTABLE.cal_conn_info with a plugin thread variable.
Fixed query_string memory deallocation crash at plugin_thdvar_cleanup.
2019-02-13 22:09:55 +03:00
Roman Nozdrin
971055a473
MCOL-1101. PoC for INFINIDB_VTABLE and thd variables migration to plugin sys variables.
2019-02-13 22:09:55 +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
Gagan Goel
d1ada75395
MCOL-270 Add support for MEDIUMINT data type
2018-12-30 19:13:16 -05: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