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

55 Commits

Author SHA1 Message Date
Roman Nozdrin
e2f1b07e70 MCOL-3317 Moved fill-next-block from writeRow() into allocRowId.
Intro* INSERT statements could face a non-existant block when MCOL-498 feature
    is enabled. writeRow() guard blocks was supposed to proactively create empty
    blocks. The pre-patch logic failed when first value in the block has been
    removed by DELETE and this overwrites the whole valid block with empty magics.
    This patch moves proactive creation logic into allocRowId().
2019-08-16 21:28:07 +03:00
Patrick LeBlanc
a09a9d5d0f Mass substitution 'Corporaton' -> 'Corporation' 2019-08-07 14:43:25 -05:00
Gagan Goel
1c460f3ba5 MCOL-2178 Cleanup of MIGR:: singleton from the plugin code.
Disable SP execution by the smart handlers for now.

    Add session variables to Enable/Disable select/derived/group_by
    handlers. Defaulted to Enable.
2019-08-04 21:50:50 -04:00
Roman Nozdrin
6fd5b2f22d MCOL-2178 Merging with 10.4
SELECT_LEX had been moved in THD so changed all references.
        Avoid writing CS decimal scales into MDB decimal fields
            d-only dec attribute. WIP
        Replaced infinidb_vtable with a singleton MIGR.
        Merged with MCOL-2121.
        Added new wsrep include paths needed by UDaF code.
        Removed .vcxproj from Connector code.
2019-08-01 12:54:17 -04:00
Andrew Hutchings
5e4f1b9933 Merge branch 'develop' into MCOL-265 2019-06-10 13:58:03 +01:00
Andrew Hutchings
784bbe09d4 Merge branch 'develop-1.2' into develop-merge-up-20190425 2019-04-25 10:27:59 +01:00
Gagan Goel
e89d1ac3cf MCOL-265 Add support for TIMESTAMP data type 2019-04-23 00:00:09 -04: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
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
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
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
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
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
Gagan Goel
d1ada75395 MCOL-270 Add support for MEDIUMINT data type 2018-12-30 19:13:16 -05: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
Ravi Prakash
e5891e4ddc Fix MCOL-1577 ColumnStore to allow CREATE TABLE table_name LIKE Syntax
The code walks the source table meta-data structure to generate CREATE
table statement which creates the new table.
2018-08-16 17:26:53 -07:00
Andrew Hutchings
443a2867c4 MCOL-1385 Initial 10.3 support 2018-08-02 14:55:01 +01:00
Andrew Hutchings
1d8964ec0d Fix code style 2018-05-31 14:44:48 +01:00
Andrew Hutchings
53f281933a Merge branch 'develop-1.1' into 1.1-merge-up-20180531 2018-05-31 14:43:52 +01:00
Roman Nozdrin
efbf297eb7 MCOL-1384 Backport the MCOL-573 feature to 1.1. Change msg type to avoid server code assert violation. 2018-05-31 10:45:22 +03:00
Andrew Hutchings
6c22502cb9 More fixes due to bad merging 2018-05-09 09:55:24 +01:00
Andrew Hutchings
1a582eed4a Merge branch 'develop-1.1' into 1.1-merge-up-20180509-a2 2018-05-09 09:20:55 +01:00
Roman Nozdrin
b9f2b55484 MCOL-1384 Parser accepts quotes with qualified dbobject identifiers. 2018-05-07 11:56:54 +03:00
Andrew Hutchings
3c1ebd8b94 MCOL-392 Add initial TIME datatype support 2018-04-30 09:42:41 +01:00
Andrew Hutchings
280dcb44bf Merge branch 'develop-1.1' into dev-merge-up-20180409 2018-04-09 19:15:18 +01:00
David Hall
fa43a962a8 MCOL-1325 rename table fails when database different than current database 2018-04-04 15:56:53 -05:00
Andrew Hutchings
21d8f04a65 Merge branch 'develop-1.1' into 1.1-mergeup-20180224 2018-02-24 11:07:24 -05:00
Roman Nozdrin
7c0086c920 MCOL-876. CS now partially supports RENAME TABLE statement. 2018-02-07 09:31:11 +03:00
Roman Nozdrin
b72fd3d90b MCOL-716 Tables and columns names support a subset of UTF-8 according with MariaDB rules. 2018-01-26 17:05:30 +03:00
Roman Nozdrin
60f56bdb2a MCOL-573 Allow restricted words usage with both grave accent(`) and double quote(") quotation. 2018-01-24 09:40:44 +03:00
Andrew Hutchings
01446d1e22 Reformat all code to coding standard 2017-10-26 17:18:17 +01:00
Andrew Hutchings
e9db44424c MCOL-642 Separate TEXT from BLOB
* TEXT and BLOB now have separate identifiers internally
* TEXT columns are identified as such in system catalog
* cpimport only requires hex input for BLOB, not TEXT
2017-03-27 21:36:27 +01:00
Andrew Hutchings
ffcfc41563 MCOL-507 Further ExeMgr performance improvements
This does the following:

* Switch resource manager to a singleton which reduces the amount of
times the XML data is scanned and objects allocated.
* Make the I_S tables use the FE implementation of the system catalog
* Make the I_S.columnstore_columns table use the RID list cache
* Make the extentmap pre-allocate a vector instead of many small allocs
2017-01-16 12:33:27 +00:00
Andrew Hutchings
bb800e4771 MCOL-477 Change autoincrement on ALTER TABLE
This patch allows the following syntax to change the current
autoincrement value for the table:

ALTER TABLE table_name COMMENT='autoincrement=value';

Where "value" is the new integer to be used.
2017-01-05 15:03:54 +00:00
Andrew Hutchings
fe381ab07c MCOL-442 Allow default zero date/datetime
Remove the hard-coded restriction in the DDL code, it isn't needed any
more
2016-12-06 15:47:33 +00:00
Ben Thompson
fc4cb7ab71 Clean up unneeded objects created in fix. 2016-10-24 11:44:07 -05:00
Ben Thompson
87ac01c3d4 MCOL-218: Make drop database work in the columnstore engine. 2016-10-19 15:23:02 -05:00
David Hall
23cf2e3edc Remove #define SKIP_AUTOI. This is no longer used 2016-09-06 12:04:28 -05:00
David Hall
09276ff885 Comment debug lines. Change a debug line to be more useful. 2016-09-01 13:01:33 -05:00
David Hall
0d2f496389 MCOL-05 Modify the DDL parser to not use (even more) global variables. 2016-08-16 18:25:09 -05:00
David Hall
10e5ed83ce MCOL-5 We've had problems with CREATE and DELETE crashing. Add some better error handling 2016-08-12 16:57:51 -05:00
david hill
e9d96ddc85 copyright additions 2016-06-01 20:03:20 -05:00
david hill
3a6d4c3fd2 Revert "copyright name change"
This reverts commit 7000f6e4f2.
2016-06-01 17:54:28 -05:00
david hill
7000f6e4f2 copyright name change 2016-06-01 14:54:11 -05:00
David Hall
c1c82a606b MCOL-2 Change error and message text to Columnstore 2016-05-27 14:40:19 -05:00
David Hall
80437a0083 MCOL-2 Update engine name to columnstore 2016-05-18 17:28:50 -05:00
David Hall
d47f38f5b6 add group_concat_max_len=512 to my.cnf to prevent blob compares. 2016-03-22 12:29:24 -05:00
David Hall
54011ad4dc Fix a crash 2016-03-10 17:35:31 -06:00