1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00
Commit Graph

1706 Commits

Author SHA1 Message Date
Roman Nozdrin
fbd081dbf1 MCOL-497 securing mysql connection with TLS in crossengine and querystats code. 2017-12-19 08:21:55 +03:00
Andrew Hutchings
e9aff27e59 MCOL-1116 Fix I_S.CS_FILES for missing dbroot
If a dbroot is missing/offline mysqld would crash on
information_schema.columnstore_files due to not catching an exception.
This patch now catches the exception.
2017-12-15 20:33:07 +00:00
David.Hall
d7c0075536 Merge pull request #350 from mariadb-corporation/1.1-merge-up
1.1 merge up
2017-12-13 08:36:56 -06:00
Andrew Hutchings
17f077012d Merge branch 'develop-1.1' into 1.1-merge-up 2017-12-13 09:09:39 +00:00
David.Hall
78e6dd08b7 Merge pull request #347 from mariadb-corporation/1.1-merge-up
1.1 merge up
2017-12-12 16:54:26 -06:00
david hill
44c06f2cc3 MCOL-1106 - increased mysqld startup timeouts 2017-12-12 16:32:49 -06:00
Andrew Hutchings
86b12cabae MCOL-978 Disable QCache for ColumnStore
ColumnStore tables can have data modifications away from a specific
MariaDB server. This means it is possible for QCache to not be
invalidated properly in vtable mode 0. This patch makes sure it is
disabled for ColumnStore.
2017-12-12 21:11:52 +00:00
Andrew Hutchings
59d0a45da3 Merge branch 'develop-1.1' into 1.1-merge-up 2017-12-12 20:26:00 +00: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
Andrew Hutchings
8babe4a35d Merge branch 'develop-1.0' into 1.0-merge-up 2017-12-12 10:01:14 +00:00
Andrew Hutchings
b657938709 MCOL-1068 Improve compression_ratio() procedure
* Uncompressed columns caused a miscalculation for compression ratio
* We now show a ratio such as 2:1 rather than a percentage
* compressed_data_size instead of file_size is used to show the
compression of actual data, ignoring the pre-allocated segment
2017-12-01 19:32:35 +00:00
Andrew Hutchings
ae9de1e426 Fix mergeup errors 2017-11-30 15:15:01 +00:00
Andrew Hutchings
37f673d121 Merge branch 'develop-1.0' into 1.0-merge-up 2017-11-30 15:09:11 +00:00
Andrew Hutchings
7fe55926ec MCOL-1040 Fix returnedColumn assumption
Code appears to assume a simple returned column is derrived when that
may not always be the case.
2017-11-29 14:47:05 +00:00
Andrew Hutchings
932819ba23 Merge branch 'develop-1.1' into merge-up-dev 2017-11-24 11:10:09 +02:00
Andrew Hutchings
d60bc999c6 MCOL-1029 Skip cached conditions
Cached conditions are things like (TRUE OR FALSE). They don't actually
add any value to the query and were breaking our working stack trying to
process them.
2017-11-20 16:06:21 +00:00
Andrew Hutchings
98138fe493 MCOL-1029 Skip cached conditions
Cached conditions are things like (TRUE OR FALSE). They don't actually
add any value to the query and were breaking our working stack trying to
process them.
2017-11-20 16:04:20 +00:00
Andrew Hutchings
dadcd6e969 Merge pull request #319 from mariadb-corporation/MCOL-963
MCOL-963 fix for regressions introduced
2017-11-14 21:55:01 +00:00
David Hall
9a012444ec MCOL-963 fix for regressions introduced 2017-11-14 15:25:38 -06:00
Andrew Hutchings
766f0b812b MCOL-1008 Fix bad length on bulk DML insert
If a VARCHAR was defined as less than 255 characters and a data via LDI
or INSERT...SELECT was > 127 characters the length field would contain a
negative number.

In 1.0.11 and 1.1.0 this was not a problem because we cast the negative
back again. With MCOL-877 we stoped doing the double-cast. This patch
casts properly the first time.
2017-11-11 09:34:35 +00:00
Andrew Hutchings
854d32560a MCOL-1008 Fix bad length on bulk DML insert
If a VARCHAR was defined as less than 255 characters and a data via LDI
or INSERT...SELECT was > 127 characters the length field would contain a
negative number.

In 1.0.11 and 1.1.0 this was not a problem because we cast the negative
back again. With MCOL-877 we stoped doing the double-cast. This patch
casts properly the first time.
2017-11-11 09:31:09 +00:00
david hill
1603ce925f rechecking back in version of calpontsystemcatalog, accidental commit old versions 2017-11-08 13:06:45 -06:00
david hill
c84ea561e1 MCOL-998 - added in binlog_format 2017-11-08 12:10:01 -06:00
David.Hall
bbdfcd70cb Merge pull request #311 from mariadb-corporation/MCOL-1016-1.1
MCOL-1016 Fix I_S calculations
2017-11-07 14:13:54 -06:00
Andrew Hutchings
468b2d473b MCOL-1016 Fix I_S calculations
* COLUMNSTORE_EXTENTS data_size now shows the total size on the highest
segment of an extent file. It also shows 0 bytes if HWM is zero so that
if there is more than one segment it doesn't show 8192 bytes for the
lower segments.
* COMPRESSION_RATIO was missing some data and using compressed data size
instead of file size (which is probably more realistic).
2017-11-07 08:40:06 +00:00
Andrew Hutchings
929d0d3fe7 MCOL-1016 Fix I_S calculations
* COLUMNSTORE_EXTENTS data_size now shows the total size on the highest
segment of an extent file. It also shows 0 bytes if HWM is zero so that
if there is more than one segment it doesn't show 8192 bytes for the
lower segments.
* COMPRESSION_RATIO was missing some data and using compressed data size
instead of file size (which is probably more realistic).
2017-11-07 08:28:29 +00:00
david hill
4f63212145 mcol-1009 and mcol-1014 2017-11-06 17:46:07 -06:00
david hill
f9bdec3225 MCOL-943 - change to use defauly mysql password logic, reading from the .my.cnf file. changesfrom defaults-file to defulats-extra-file 2017-11-02 16:32:38 -05:00
David Hall
21e031798c MCOL-963 only set isNewQuery on INFINIDB_CREATE_VTABLE 2017-10-30 18:07:27 -05:00
David Hall
97eb46213b MCOL-963 reset infinidb_vtable.isNewQuery upon error. Add redo (REDO_PHASE1) counter. 2017-10-30 18:05:19 -05:00
Andrew Hutchings
a347a8f5aa Merge branch 'develop-1.1' into develop 2017-10-30 10:29:30 +00:00
David Hall
37aee9ddd1 MCOL-991 Qualify all uses of tuple<> with boost:: 2017-10-27 16:21:06 -05:00
Andrew Hutchings
01446d1e22 Reformat all code to coding standard 2017-10-26 17:18:17 +01:00
David Hall
b70e9b5f67 MCOL-985 Add return code test after call to buildReturnedColumn 2017-10-24 13:49:46 -05:00
David Hall
16990c8e03 MCOL-985 Add return code test after call to buildReturnedColumn 2017-10-24 13:47:41 -05:00
David.Hall
a116455715 Merge pull request #289 from mariadb-corporation/MCOL-973
MCOL-973 Fix DOUBLE typecast crash
2017-10-23 18:32:36 -05:00
David.Hall
2f19dc2875 Merge pull request #290 from mariadb-corporation/MCOL-973-1.0
MCOL-973 Fix DOUBLE typecast crash
2017-10-23 18:32:03 -05:00
Andrew Hutchings
c2e6e52a59 MCOL-662 Fix multiple filters in CrossEngine
If a CrossEngine step has multiple filters the filters were overwriting
each other. This fix stores the filters as a vector and processes them
in a loop.
2017-10-23 16:29:29 +01:00
Andrew Hutchings
ee74e7cc62 MCOL-662 Fix multiple filters in CrossEngine
If a CrossEngine step has multiple filters the filters were overwriting
each other. This fix stores the filters as a vector and processes them
in a loop.
2017-10-23 16:26:08 +01:00
Andrew Hutchings
3b4da1999d MCOL-973 Fix DOUBLE typecast crash
DOUBLE typecast was not supported and the failure detection caused a
crash.

This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:42:40 +03:00
Andrew Hutchings
5911e677fa MCOL-973 Fix DOUBLE typecast crash
DOUBLE typecast was not supported and the failure detection caused a
crash.

This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:38:11 +03:00
David Hall
cc9edcb54f MCOL-783 Check for recursive cte against all tables in the query. 2017-10-09 15:38:00 -05:00
David Hall
ff76412f68 MCOL-783 Check for recursive only cte. Check all cte in list. 2017-10-09 15:37:41 -05:00
David Hall
805300341c MCOL-783 Error not supported for recursive CTE 2017-10-05 11:07:47 -05:00
David Hall
2ea7ef3567 MCOL-951 revert bad optimization from UDAF 2017-10-04 17:16:45 -05:00
David Hall
9e841bdc6c MCOL-926 Handle duplicate function detection for UDAF 2017-10-02 15:08:32 -05:00
David Hall
64df6273f1 Resolve Conflicts dbcon/joblist/tupleaggregatestep.cpp 2017-10-02 14:56:40 -05:00
David.Hall
0defd68fe6 Merge pull request #270 from mariadb-corporation/MCOL-944
MCOL-944 Fix aggregate type switch
2017-10-02 13:03:44 -05:00
Andrew Hutchings
3487789d73 MCOL-944 Fix more signed/unsigned cases in agg
Applies the first fix to more places
2017-10-02 18:49:56 +01:00
Andrew Hutchings
a32b390f7e MCOL-944 Fix more signed/unsigned cases in agg
Applies the first fix to more places
2017-10-02 18:48:28 +01:00