1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-09-02 12:41:17 +03:00
Commit Graph

2164 Commits

Author SHA1 Message Date
benthompson15
8e956fc2e9 Merge pull request #499 from mariadb-corporation/davidhilldallas-patch-2
Update VERSION
2018-06-18 17:30:39 -05:00
david hill
1f8083e59b Update README.md 2018-06-18 15:18:39 -05:00
david hill
9f6df3b0ce Update VERSION 2018-06-18 15:17:58 -05:00
david hill
337bd9ba8c Update README 2018-06-18 15:16:47 -05:00
benthompson15
d9ff25759f Merge pull request #497 from mariadb-corporation/develop-1.1
Develop 1.1
2018-06-18 15:11:36 -05:00
Andrew Hutchings
d6cb205dfc MCOL-1475 Improve cross engine error handling
Now shows MariaDB error code and message where possible.
2018-06-14 18:37:52 +01:00
Andrew Hutchings
40405c792a MCOL-1474 Add error handling to PTP
PriorityThreadPool didn't have very good error handling. If something
failed it would just ignore whatever was being processed. This could
lead to a query continuing without retreiving all of the required data.

This patch adds error handling, sending a message back to the client
and a log message. It also destroys and recreates the pool thread.
2018-06-14 16:28:06 +01:00
Andrew Hutchings
250d90a9bc MCOL-1474 Catch errors in PriorityThreadPool
PriorityThreadPool errors cause crashes in PrimProc. This patch catches
the errors and causes the thread to end cleanly.
2018-06-14 14:43:37 +01:00
benthompson15
4a20da68ac Merge pull request #491 from mariadb-corporation/MCOL-1405
MCOL-1405 - fix launch of mysql monitor thread on seperate module ins…
2018-06-06 14:17:27 -05:00
David.Hall
10479dee16 Merge pull request #490 from mariadb-corporation/MCOL-1408-fixes
MCOL-1408 Multiple API HWM boundary fixes
2018-06-06 12:56:20 -05:00
Andrew Hutchings
2bbb70f61b MCOL-1408 Multiple API HWM boundary fixes
Fixes the following:

* Generate error if calculateRowId fails
* No data written when first extent is completely full on a write, all
data going to second extent.
* 0 byte valArray malloc
* valArray free() on no malloc
* Column touched but no data written if all data going to second extent
* Wrong colWidth used on second extent calculateRowId
* Out of bounds memory write (crash) when no data for first extent
* Extent not committed if all data going to second extent
2018-06-06 16:18:54 +01:00
david hill
05f1752dd0 MCOL-1405 - fix launch of mysql monitor thread on seperate module install 2018-06-05 15:47:38 -05:00
benthompson15
36a536f472 Merge pull request #488 from mariadb-corporation/MCOL-1370
Mcol 1370
2018-06-04 09:56:04 -05:00
david hill
ed8e774dcd MCOL-1370 2018-06-01 16:33:48 -05:00
Andrew Hutchings
3ab634bde6 Merge pull request #485 from drrtuy/MCOL-1384_2
MCOL-1384 Backport MCOL-573 to 1.1
2018-05-31 13:15:46 +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
david hill
5226833dd4 MCOL-1370 2018-05-30 16:27:33 -05:00
david hill
b2314f152d MCOL-1370 2018-05-30 16:16:42 -05:00
david hill
4fe399e5c0 MCOL-1370 - auto-failure, dont switch ebs when detahc fails 2018-05-30 15:46:58 -05:00
David.Hall
12f2e112e2 Merge pull request #483 from mariadb-corporation/MCOL-1408
MCOL-1408 Fix HWM calculation for DML & API
2018-05-30 09:48:55 -05:00
Andrew Hutchings
3f466541fc Merge pull request #480 from drrtuy/MCOL-1406_1_1
MCOL-1406 DEFAULT  value in double quotes for develop-1.1
2018-05-29 22:04:40 +01:00
Andrew Hutchings
b6424480c0 MCOL-1408 Fix HWM calculation for DML & API
HWM for DML and API was being calculated using the first column in a
table instead of the smallest column. This shifts the calculation to the
correct column.
2018-05-29 21:21:38 +01:00
Roman Nozdrin
04c87aca31 MCOL-1406 Removed unused non-terminal token. 2018-05-25 12:28:00 +03:00
Roman Nozdrin
8f3faee25d MCOL-1406 Fixed the regression. 2018-05-23 23:38:11 +03:00
Andrew Hutchings
1ea5198e0e Merge pull request #475 from drrtuy/MCOL-1415
MCOL-1415
2018-05-18 12:37:47 +01:00
Roman Nozdrin
59858aa896 MCOL-1415 Fixed regression with extra spaces after dot in qualified identifiers. 2018-05-17 10:01:17 +03:00
david hill
45331160af Merge pull request #473 from mariadb-corporation/MCOL-1412
MCOL-1412 Ubuntu 18.04 support
2018-05-15 08:35:51 -05:00
Andrew Hutchings
5b1f5d5fe4 MCOL-1412 Ubuntu 18.04 support
Backport Ubuntu 18.04 support to 1.1
2018-05-14 22:03:25 +01:00
David.Hall
32feb09e91 Merge pull request #470 from mariadb-corporation/MCOL-1390
MCOL-1390 Fix SUBSTRING_INDEX for negative count
2018-05-10 15:46:18 -05:00
David.Hall
61da44cd61 Merge pull request #469 from mariadb-corporation/MCOL-1403
MCOL-1403 Remove whitespace trimming on constants
2018-05-10 15:37:18 -05:00
Andrew Hutchings
baf42e7b4a MCOL-1390 Fix SUBSTRING_INDEX for negative count
If negative count number is more than the number of characters in the
string then it should always return the string.

For example if a table contains SUBSTRING_INDEX('zzz', 'z', -5) should
return 'zzz'. Before this patch it would return NULL.
2018-05-10 18:32:22 +01:00
Andrew Hutchings
fbf2f2e979 MCOL-1403 Remove whitespace trimming on constants
This appears to be to fix equality matches in InfiniDB but at the same
time it breaks LIKE processing. Equality matching with trailing
whitespace was fixed in MCOL-1246 so the old InfiniDB patch can be
removed.
2018-05-10 17:35:38 +01:00
David.Hall
e66cceb1a3 Merge pull request #467 from mariadb-corporation/MCOL-1197
MCOL-1197 Make -c work in cpimport
2018-05-09 11:34:32 -05:00
Andrew Hutchings
d010397be6 MCOL-1197 Make -c work in cpimport
It turns out -c wasn't actually connected to anything and now with have
BLOB/TEXT it is pretty useful. If -c is set to < 1MB then 1MB is used,
otherwise it will use the selected buffer size.
2018-05-09 14:52:42 +01:00
David.Hall
3227421dea Merge pull request #465 from mariadb-corporation/MCOL-1396
MCOL-1396 Allow StringStore to hold more than 2GB
2018-05-08 23:14:41 -05:00
Andrew Hutchings
ac3e702a3e MCOL-1396 Allow StringStore to hold more than 2GB
StringStore originally worked by returning a 32bit pointer to a memory
location and storing the length with that pointer. This allowed 4GB to
be stored in 64KB blocks. With 1.1 we used the high bit to signify a
TEXT/BLOB string of > 64KB reducing the max capacity to 2GB but without
any bounds checking.

So, if you went over the 2GB mark the getter would think you are trying
to get a long string instead of a short one and come up empty. It would
then return NULL.

This patch uses 64bit memory points still retaining the high bit to
signify long strings. It also now stores the length with the string
rather than with the pointer to allow the full 64bits for pointers.

It also adds a bounds check for small strings.
2018-05-08 19:38:06 +01:00
Andrew Hutchings
dee81db2f6 Merge pull request #464 from drrtuy/MCOL-1384
MCOL-1384 Parser accepts quotes with qualified dbobject identifiers.
2018-05-08 11:23:41 +01:00
Roman Nozdrin
b9f2b55484 MCOL-1384 Parser accepts quotes with qualified dbobject identifiers. 2018-05-07 11:56:54 +03:00
benthompson15
f1b05a7c09 Merge pull request #461 from mariadb-corporation/MCOL-1377
MCOL-1377 - enchance the user/group setting for syslog
2018-05-03 19:47:26 -05:00
david hill
543f6cb8dd MCOL-1377 - enchance the user/group setting for syslog 2018-05-03 09:06:45 -05:00
David.Hall
69519426be Merge pull request #460 from mariadb-corporation/MCOL-1349
MCOL-1349 Fix outer joins in views
2018-05-02 10:14:48 -05:00
Andrew Hutchings
0b32f95dac MCOL-1349 Fix outer joins in views
Outer join handling inside views was broken due to the joins being
processed twice. This patch brings back the code so that outer joins in
views are only processed once.
2018-05-02 15:26:01 +01:00
Andrew Hutchings
4a1fc5b84d Merge pull request #455 from mariadb-corporation/MCOL-1229-1.1
MCOL-1229 - IS.columnstore_columns crashes when DDL is simultaneously…
2018-05-01 13:08:05 +01:00
Ravi Prakash
fda6b35243 More change for MCOL-1229. Do not throw an exception but return an error code. 2018-04-30 10:39:13 -07:00
Ravi Prakash
1bcc8a3052 MCOL-1229 - IS.columnstore_columns crashes when DDL is simultaneously executing.
The crash was due to an attempt to iterate over the columns of a recently dropped table.
Such a table will now be ignored.
2018-04-28 14:48:13 -07:00
benthompson15
585388188f Merge pull request #453 from mariadb-corporation/davidhilldallas-patch-1
update to 1.1.5
2018-04-26 16:16:05 -05:00
david hill
863e18744b update to 1.1.5 2018-04-25 14:07:18 -05:00
benthompson15
a06d4e2ae1 Merge pull request #452 from mariadb-corporation/cs-1.1.4
merge of 1.1.4 from columnstore-1.1.4 tag
2018-04-25 11:47:26 -05:00
David.Hall
029fddcc4f Merge pull request #450 from drrtuy/MCOL-1348
MCOL 1348 ExeMgr processes SELECT with UDAF, intermingled with other projections.
2018-04-24 14:14:48 -05:00
Roman Nozdrin
51715c76ee MCOL-1348 Add multiply UDAF calls support. 2018-04-24 15:14:08 +03:00