Serguey Zefirov
bb631dcffb
feat(JSON,data_type): MCOL-6197 - support for JSON type
...
This patch does exactly this, it implements support for JSON in DDL.
Right now we use server's check for JSON validity on INSERT. We do not implement
JSON validity check during updates, it is postponed for later work.
2025-10-17 11:48:46 +03:00
Sergey Zefirov
3bcc2e2fda
fix(memory leaks): MCOL-5791 - get rid of memory leaks in plugin code ( #3365 )
...
There were numerous memory leaks in plugin's code and associated code.
During typical run of MTR tests it leaked around 65 megabytes of
objects. As a result they may severely affect long-lived connections.
This patch fixes (almost) all leaks found in the plugin. The exceptions
are two leaks associated with SHOW CREATE TABLE columnstore_table and
getting information of columns of columnstore-handled table. These
should be fixed on the server side and work is on the way.
2024-12-06 09:04:55 +00:00
Leonid Fedorov
56f2346083
Remove windows ifdefs
2023-03-02 15:59:42 +00:00
Roman Nozdrin
f7002e20b5
::writeRow now treats WR_BINARY as int128 for 16 bytes DT only
...
WF avg uses const & as arguments types
Removed BINARY from DDL parser
2020-11-18 13:52:20 +00:00
drrtuy
2eb5af1d24
MCOL-641 This commit adds support for SIGNED and ZEROFILL keywords in
...
CREATE TABLE. ZEROFILL is dummy though.
There is a new file with column width utilities.
Array access was replaced by a variable that is calculated only once in
TupleJoiner::updateCPData.
2020-11-18 13:47:01 +00:00
Gagan Goel
32f6167067
MCOL-641 Work of Ivan Zuniga on basic read and write support for Binary16
2020-11-18 13:47:00 +00:00
Roman Nozdrin
e0cb60dcd2
Merge pull request #1024 from LinuxJedi/collate_warn
...
MCOL-3721 Allow collate and warn on ORDER BY
2020-02-28 16:19:36 -05:00
David.Hall
bfe3ab14c0
Merge pull request #1030 from LinuxJedi/MCOL-3764
...
MCOL-3764 Fix RENAME TABLE
2020-02-28 16:19:18 -05:00
Andrew Hutchings
70b3aa3159
Merge branch 'develop-1.2' into develop-merge-up-20190924-2
2019-09-24 14:17:57 +01:00
Andrew Hutchings
82f5a985a0
MCOL-2219 Remove unused lexer patterns
2019-08-12 08:50:47 +01:00
Andrew Hutchings
e9a4412346
MCOL-2219 Fix space handling in DDL parser
...
Allow non-alphanumeric character after space in column names.
2019-08-01 18:20:13 +01:00
Gagan Goel
e89d1ac3cf
MCOL-265 Add support for TIMESTAMP data type
2019-04-23 00:00:09 -04:00
Gagan Goel
d1ada75395
MCOL-270 Add support for MEDIUMINT data type
2018-12-30 19:13:16 -05: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
Roman Nozdrin
d1f02026c5
Backported the rest of MCOL-1659(spaces in identifiers).
2018-10-07 16:19:50 +03:00
Gagan Goel
38d0740ec1
MCOL-266 Add support for BOOLEAN/BOOL data type
2018-10-07 00:43:34 -04: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
07bd413053
MCOL-1660/1659 Table/column identifiers support spaces in DDL.
...
MCOL-1660/1659 Table/column identifiers support spaces in DDL.
2018-08-18 15:29:52 +03:00
Andrew Hutchings
03da6df473
Merge branch 'develop-1.1' into 1.1-merge-up-20180817
2018-08-17 16:17:13 +01:00
Roman Nozdrin
a98aec07fa
MCOL-1655 removed hardcoded %debug from ddl.y.
2018-08-17 01:10:00 +03:00
Roman Nozdrin
5ddd510c31
MCOL-1454 DDL parser supports reserved word TIME as a column name now.
2018-06-23 18:21:47 +03: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
Roman Nozdrin
8f3faee25d
MCOL-1406 Fixed the regression.
2018-05-23 23:38:11 +03:00
Andrew Hutchings
8790177d2a
Merge pull request #471 from drrtuy/MCOL-1386
...
MCOL-1386 C-style comments
2018-05-15 15:32:47 +01:00
Roman Nozdrin
f67c9fd50f
MCOL-1386 Add c-style comments support for DDL statements.
2018-05-10 22:04:33 +03: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
Roman Nozdrin
4013c8b9b2
MCOL-1327 CS supports visible special ASCII symbols.
2018-04-13 22:16:44 +03:00
Roman Nozdrin
cfe288fd6b
MCOL-1219: Object and column identifiers can start with a digit now.
2018-02-28 10:31:42 +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
cf58b8de5c
MCOL-267 BLOB/TEXT in DDL parser
...
Add basic support for BLOB/TEXT in DDL parser
2017-03-17 09:28:36 +00:00
David Hall
7c9e6e84c2
remove debug cout in ddl.l
2016-10-17 13:03:23 -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
6d11ce030d
MCOL-66 - Make the DDL and DML parsers re-entrant.
...
Serialize all DDL because the VVS can't handle modifying the same block simultaneously
Fix the CTRL+C logic in DML that caused COMMIT issues.
2016-07-20 11:47:51 -05:00
david hill
f6afc42dd0
the begginning
2016-01-06 14:08:59 -06:00