1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-05-25 13:42:31 +03:00

57 Commits

Author SHA1 Message Date
Roman Nozdrin
1995e92788 MCOL-1527 CEJ DML statements now return correct number of affected rows. 2018-07-17 20:17:51 +03:00
benthompson15
05431bf705
Merge pull request #389 from mariadb-corporation/MCOL-962
Mcol 962
2018-02-05 15:55:59 -06:00
David Hall
59f7e14230 MCOL-962 returned wrong value. 2018-01-30 16:25:15 -06:00
David Hall
243e9e9fb8 MCOL-962 format 2018-01-30 16:21:47 -06:00
David Hall
43f322ea2f MCOL-962 formating 2018-01-30 16:19:17 -06:00
David Hall
2bdcb159ed MCOL-962 change mcssystemreadonly to a tri state return flag. Test for 0 to see if the system is in a writable state, 2018-01-30 16:07:51 -06:00
benthompson15
468421be66
Merge pull request #359 from mariadb-corporation/MCOL-962
MCOL-962 Add mcsSystemReady(), mcsSystemReadOnly() and mcsWritesSuspe…
2018-01-16 12:32:26 -06:00
David Hall
504fcf0778 MCOL-1128 Allow exeMgrThreadPool to use unlimited threads. The number will be limited by the number of sessions allowed in server. 2018-01-12 16:29:01 -06:00
David Hall
1ffeda44d6 MCOL-962 Add mcsSystemReady(), mcsSystemReadOnly() and mcsWritesSuspended() 2018-01-10 12:17:57 -06:00
Roman Nozdrin
bea47cc657 MCOL-939 Moved columnstore version information to columnstoreversion.h for 1.1.X 2017-12-12 22:53:33 +03:00
David Hall
9a012444ec MCOL-963 fix for regressions introduced 2017-11-14 15:25:38 -06:00
David Hall
21e031798c MCOL-963 only set isNewQuery on INFINIDB_CREATE_VTABLE 2017-10-30 18:07:27 -05:00
David Hall
bc2a4e7795 MCOL-523 Add UDAF and UDAnF SDK 2017-08-02 11:22:07 -05:00
Andrew Hutchings
9ad2b0c496 MCOL-636 CHAR/VARCHAR return optimisation
Returns pointers to string buffer instead of making a copy first.
2017-07-18 14:51:40 +01:00
Andrew Hutchings
976cc16a0e MCOL-674 Fix subquery in UPDATE
When some subquery changes were made over a year ago the flag to state
that an UPDATE subquery was not constant data was accidentally commented
out. This brings it back in again.
2017-07-11 13:57:23 +01:00
Andrew Hutchings
30d8baf9f7 Merge branch 'MCOL-597' into develop 2017-04-26 15:58:28 +01:00
Andrew Hutchings
fac819b81c MCOL-683 Fix nested ADDDATE and DATE_FORMAT
MariaDB sends us a UTF8 length which we shortern because we think this
is a microsecond length. We need to keep this length.
2017-04-25 23:40:39 +01:00
David Hall
b070ef3217 MCOL-597 some clean up and make Release builds work 2017-04-21 09:48:59 -05:00
David Hall
d7da34c249 MCOL-597 Fix up Windows Functions 2017-04-21 09:47:56 -05:00
David Hall
f9e5b7b507 MCOL-597 Take Window Functions just to get a compile. No other changes were needed. 2017-04-21 09:47:56 -05: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
27e5995cd3 MCOL-267 Add basic engine support
This patch adds enough support so that cross engines joins with blob
columns in the foreign engines will work. The modifications are as
follows:

* Add CrossEngine support for non-NULL-terminated (binary) data
* Add row data support for blobs (similar to varbinary)
* Add engine support for writing out blob data correctly to the storage
engine API
* Re-enable blob support in the engine plugin
2017-03-17 09:27:50 +00: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
4fc7fa12cd MCOL-129 INSERT/UPDATE strict mode support
This changes the warning for truncation to the correct MariaDB error
code (1264).

In addition it passes the strict mode up into the DML class to roll back
correctly.

It also sets the abort_on_warning flag for updates as this isn't set on
the rnd_init phase but is needed for strict mode to work.
2016-11-04 14:06:00 +00:00
dhall-InfiniDB
059a158837 Merge pull request #49 from mariadb-corporation/MCOL-263
MCOL-263: throw different error message on load data infile if column…
2016-11-03 09:39:40 -05:00
Ben Thompson
39c3cabb7c MCOL-263: throw different error message on load data infile if columnstore suspendDatabaseWrite is enabled 2016-11-02 17:34:46 -05:00
David Hall
086a98794e MCOL-361 String::c_ptr() can cause a realloc and break things. Remove all uses of c_ptr to String objects from the server. 2016-11-01 16:07:13 -05:00
David Hall
0368dd487a MCOL-153 Add UDF function calgetsqlcount() which will display the number of sql statements active and the number waiting. 2016-10-27 15:49:01 -05:00
Ben Thompson
87ac01c3d4 MCOL-218: Make drop database work in the columnstore engine. 2016-10-19 15:23:02 -05:00
Andrew Hutchings
52c0f79fcf MCOL-330 Fix datetime to int conversion
Datetime has internal int value which is very different to MySQL's int
value. This patch differentiates between the two and also fixes a column
width issue which appeared once the datetime handling was fixed.
2016-09-29 17:27:52 +01:00
Andrew Hutchings
b5d4e02b21 MCOL-173 Fix null handling for bulk inserts
When infinidb_use_import_for_batchinsert is enabled the NULL handling
for the batch insert was incorrect. This is due to an off-by-one on the
NULL bitmap. This also affects INSERT...SELECT.
2016-09-09 16:09:47 +01:00
David Hall
d9de4cfde0 MCOL-279 Debuging 279 revealed a weakness in processing when front end ond backend were out of sync. It could cause a mysqld crash. Added error code to check and report, rather than crash. 2016-09-01 13:01:33 -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 Hall
8bc7e46905 MCOL-5 Don't send empty strings in cpimport command line. It confuses cpimport. 2016-08-09 11:35:45 -05:00
David Hall
8de8666046 MCOL-5 fill the vector before taking the addresses of the strings. 2016-08-08 16:36:01 -05:00
David Hall
7598e8bc75 MCOL-5 Building the cpimport command line for LDI relied on the addresses of the contents of a std:vector being static during re-allocation. This is an erroneous assumption. Recoded to build the vector completely, then use it. 2016-08-05 14:09:19 -05:00
david hill
539e524ad4 name change from InfiniDB in comments 2016-07-26 09:24:46 -05:00
david hill
7d8de28b43 MCOL-59, change calpont.xml 2016-06-22 16:00:00 -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 7000f6e4f2eadf5bafccf7b459b3a3eff229d426.
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
a72f053840 Fix for date_item and a crash 2016-04-26 17:21:35 -05:00
David Hall
07856fb1e0 Should clean up in instead of just return. Unlikely to follow this path, but... 2016-03-31 11:11:33 -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
David Hall
d06744ae0a Need to reset isNewQuery 2016-02-29 18:17:51 -06:00
David Hall
353ec57908 Changes needed for Item::CACHE_ITEM 2016-02-29 18:01:22 -06:00
David Hall
9d5f9bbd43 Convert some more error codes 2016-02-19 13:47:10 -06:00