1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00
Commit Graph

3637 Commits

Author SHA1 Message Date
Andrew Hutchings
fc07ee29f3 MCOL-707 Fix ExeMgr's memory accounting
ExeMgr uses ResourceManager to count memory usage. If a usage exceeded
error occurs the counting wasn't reset and subsequent usage attempts in
the same ExeMgr thread would error.

This patch moves the in-class accounting for GroupConcat and others so
that it happens before the error is detected. The memory usage counter
is then decremented correctly on the class destructor.
2017-05-12 12:57:56 +01:00
David Hill
893cca974d merge develop-1.0 branch 2017-05-11 18:17:04 -05:00
Andrew Hutchings
b3c6229915 Merge pull request #167 from mariadb-corporation/fix-snappy-cpack
Fix snappy package name for SUSE
2017-05-11 20:19:40 +01:00
dhall-InfiniDB
b4883e6abd Merge pull request #182 from mariadb-corporation/MCOL-712
MCOL-712 Support TEXT for GROUP BY
2017-05-11 09:43:28 -05:00
Andrew Hutchings
83331f4fa7 MCOL-712 Support TEXT for GROUP BY
Add missing support
2017-05-11 10:32:29 +01:00
dhall-InfiniDB
85a5eaac31 Merge pull request #181 from mariadb-corporation/MCOL-707
MCOL-707 Fix memory accounting for ORDER BY
2017-05-10 17:05:03 -05:00
Andrew Hutchings
f369ee6212 MCOL-707 Fix memory accounting for ORDER BY
Missed off window function order by memory accounting in my first commit
for MCOL-707. Fixed in the same way
2017-05-10 22:59:52 +01:00
david hill
03c62656b3 update post-install
removed test lines of echo adn early exit
2017-05-10 10:35:56 -05:00
dhall-InfiniDB
6400d5c6fb Merge pull request #179 from mariadb-corporation/MCOL-707
MCOL-707 Fix ExeMgr's memory accounting
2017-05-10 10:05:24 -05:00
David Hill
e125db220d removed echo and early exit commands columnstore-1.0.9 2017-05-10 09:53:32 -05:00
dhall-InfiniDB
355386be19 Merge pull request #180 from mariadb-corporation/MCOL-710
MCOL-710 Fix ALTER TABLE ADD COLUMN for TEXT/BLOB
2017-05-10 09:39:17 -05:00
Andrew Hutchings
cced9222e1 MCOL-710 Fix ALTER TABLE ADD COLUMN for TEXT/BLOB
The column fill didn't detect that this was a TEXT/BLOB column.
2017-05-10 12:03:21 +01:00
Andrew Hutchings
4adb50f171 MCOL-707 Fix ExeMgr's memory accounting
ExeMgr uses ResourceManager to count memory usage. If a usage exceeded
error occurs the counting wasn't reset and subsequent usage attempts in
the same ExeMgr thread would error.

This patch moves the in-class accounting for GroupConcat and others so
that it happens before the error is detected. The memory usage counter
is then decremented correctly on the class destructor.
2017-05-10 11:45:31 +01:00
david hill
f7e93798c6 Merge pull request #178 from mariadb-corporation/MCOL-709
Mcol 709
2017-05-09 15:24:24 -05:00
benthompson15
224b5f7871 Merge pull request #177 from mariadb-corporation/MCOL-709-1.0
MCOL-709 changes
2017-05-09 15:17:46 -05:00
david hill
64e86242c2 MCOL-709 changes 2017-05-09 14:47:46 -05:00
david hill
f03466e169 add code to return 1 when postConfigure returns 1 2017-05-09 13:59:36 -05:00
david hill
b676242331 change some exit 0 to exit 1 2017-05-09 13:56:43 -05:00
david hill
7f8c54bab4 change prefix assignment and sed prefix change 2017-05-09 13:50:18 -05:00
david hill
8e258fccf3 redirect stdout to null on ldconfig commands 2017-05-09 13:33:29 -05:00
dhall-InfiniDB
491799041e Merge pull request #174 from mariadb-corporation/MCOL-657
MCOL-657 Support the <=> operator
2017-05-09 09:49:39 -05:00
dhall-InfiniDB
c620185d0e Merge pull request #175 from mariadb-corporation/MCOL-657-1.0
MCOL-657 Support the <=> operator
2017-05-09 09:49:18 -05:00
dhall-InfiniDB
518d35047e Merge pull request #172 from mariadb-corporation/MCOL-656
MCOL-656 Fix LIKE on non-dict CHAR/VARCHAR
2017-05-09 09:48:27 -05:00
dhall-InfiniDB
b1ef5f32b4 Merge pull request #173 from mariadb-corporation/MCOL-656-1.0
MCOL-656 Fix LIKE on non-dict CHAR/VARCHAR
2017-05-09 09:47:54 -05:00
Andrew Hutchings
4f3968fb36 MCOL-657 Support the <=> operator
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 12:00:06 +01:00
Andrew Hutchings
e58333d4f2 MCOL-657 Support the <=> operator
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 11:57:28 +01:00
Andrew Hutchings
122dbdcbb1 MCOL-656 Fix LIKE on non-dict CHAR/VARCHAR
The LIKE part of the query for non-dict CHAR/VARCHAR was converted to an
INT based on the length of the column. So on a 2 byte CHAR a LIKE of
'%05%' was truncated to '%0' which is a very different query. We should
not cast this to INT because we could use a LIKE of > 8 bytes on a
non-dict column. This patch turns LIKE into an expressionStep which
cater for longer strings rather than a simpleFilter.
2017-05-09 10:28:12 +01:00
Andrew Hutchings
a6a02642ca MCOL-656 Fix LIKE on non-dict CHAR/VARCHAR
The LIKE part of the query for non-dict CHAR/VARCHAR was converted to an
INT based on the length of the column. So on a 2 byte CHAR a LIKE of
'%05%' was truncated to '%0' which is a very different query. We should
not cast this to INT because we could use a LIKE of > 8 bytes on a
non-dict column. This patch turns LIKE into an expressionStep which
cater for longer strings rather than a simpleFilter.
2017-05-09 10:23:20 +01:00
dhall-InfiniDB
ad1c6e49f0 Merge pull request #171 from mariadb-corporation/MCOL-704
MCOL-704 backport MCOL-686 Fix BETWEEN performance
2017-05-08 16:27:07 -05:00
david hill
dc9e812ac2 add startup script for buildbot 2017-05-08 15:37:19 -05:00
Andrew Hutchings
dc4f38a877 MCOL-686 Fix BETWEEN performance
BETWEEN was executing as a function on each row which meant that extent
elimination couldn't happen. We now execute as a predicate function
instead.
2017-05-08 21:07:39 +01:00
dhall-InfiniDB
9ef603c14a Merge pull request #169 from mariadb-corporation/MCOL-701
MCOL-701 stop join on BLOB columns
2017-05-05 13:09:34 -05:00
dhall-InfiniDB
19342efe57 Merge pull request #170 from mariadb-corporation/MCOL-698
MCOL-698 Stop joins bigger than 64KB
2017-05-05 09:42:07 -05:00
Andrew Hutchings
33ed6698b1 MCOL-698 Stop joins bigger than 64KB
Joins bigger than 64KB don't work and they would consume a lot of RAM if
they did, so error out if they are attempted.
2017-05-05 14:53:49 +01:00
Andrew Hutchings
82c983ec62 MCOL-701 stop join on BLOB columns
Joins on BLOB columns aren't yet possible due to string pointers used.
This gives a meaningful error for it.
2017-05-05 12:40:24 +01:00
dhall-InfiniDB
a6dfc3c366 Merge pull request #168 from mariadb-corporation/MCOL-698
MCOL-698 Fix joiner for LONGTEXT
2017-05-04 10:33:30 -05:00
Andrew Hutchings
00cd7f40c1 MCOL-698 Fix joiner for LONGTEXT
It turns out not many machines have 32TB of RAM, so lets try not to
allocate that much for a LONGTEXT key join...
2017-05-04 15:14:27 +01:00
dhall-InfiniDB
1c2a8fccf3 Merge pull request #164 from mariadb-corporation/MCOL-697
MCOL-697 Limit the return length for LONGBLOB
2017-05-03 17:18:49 -05:00
Andrew Hutchings
45c4fac483 Fix snappy package name for SUSE 2017-05-03 22:49:28 +01:00
benthompson15
6915629c73 Merge pull request #166 from mariadb-corporation/fix-snappy-cpack
Fix cpack snappy dependency
2017-05-03 16:45:25 -05:00
Andrew Hutchings
132ef03fe6 Fix cpack snappy dependency
Snappy dep got accidentally dropped in an earlier commit
2017-05-03 22:42:09 +01:00
dhall-InfiniDB
a79b6744e1 Merge pull request #165 from mariadb-corporation/MCOL-698
MCOL-698 Fix joiner for TEXT columns
2017-05-03 16:37:09 -05:00
Andrew Hutchings
2cbf57c053 MCOL-698 Fix joiner for TEXT columns
Joiner was thinking TEXT was INT
2017-05-03 22:32:27 +01:00
Andrew Hutchings
e03267ae4b MCOL-697 Limit the return length for LONGBLOB
For LONGBLOB the string return length was 4GB for functions which got
converted to -1 and then to 20. This patch sets it to just under 2GB
which we use for LONGBLOB everywhere else.
2017-05-03 21:30:25 +01:00
dhall-InfiniDB
cb788c0be2 Merge pull request #163 from mariadb-corporation/MCOL-697
MCOL-697 Remove 64KB VARCHAR response limit
2017-05-03 09:43:29 -05:00
Andrew Hutchings
de06c48b6c MCOL-697 Remove 64KB VARCHAR response limit
This was a hard coded limit due to StringStore not being able to handle
more than this. It restricts hex() unnecessarily and is now redundant.
2017-05-03 08:07:56 +01:00
Andrew Hutchings
775c605928 Merge pull request #161 from mariadb-corporation/MCOL-696
MCOL-696 REVERSE reversing too much
2017-05-02 23:18:53 +01:00
dhall-InfiniDB
d98d40bdb4 Merge pull request #160 from mariadb-corporation/MCOL-686
MCOL-686 Fix BETWEEN performance
2017-05-02 17:10:34 -05:00
David Hall
b371141202 MCOL-696 REVERSE reversing too much 2017-05-02 17:02:19 -05:00
david hill
d4d52ecfba MCOL-522 changes 2017-04-28 13:23:19 -05:00