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

1737 Commits

Author SHA1 Message Date
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
Andrew Hutchings
29edb0a1f7 MCOL-944 Fix aggregate type switch
Aggregates could switch from unsigned to signed prior to execution. This
causes issues with NULL values since signed and unsigned NULLs are
different.
2017-10-02 11:50:31 +01:00
Andrew Hutchings
0b45e3042b MCOL-944 Fix aggregate type switch
Aggregates could switch from unsigned to signed prior to execution. This
causes issues with NULL values since signed and unsigned NULLs are
different.
2017-10-02 11:47:56 +01:00
David.Hall
871f64ee71 Merge pull request #268 from mariadb-corporation/MCOL-895-1.0
MCOL-895 Sort system catalog ridList
2017-09-28 09:40:33 -05:00
David.Hall
2ce3acec1a Merge pull request #267 from mariadb-corporation/MCOL-895-1.1
MCOL-895 Sort system catalog ridList
2017-09-28 09:40:20 -05:00
David Hall
c4269871fe MCOL-911 getAggCols needs to look into the objects 2017-09-20 14:11:42 +01:00
Andrew Hutchings
752a05cbca MCOL-895 Sort system catalog ridList
It is possible to have the columns for a table in a different order
within the system catalog. This causes problems for things like
WriteEngine so this patch sorts the columns based on position for the
system catalog cache.
2017-09-20 14:03:45 +01:00
Andrew Hutchings
99d0027cc6 MCOL-895 Sort system catalog ridList
It is possible to have the columns for a table in a different order
within the system catalog. This causes problems for things like
WriteEngine so this patch sorts the columns based on position for the
system catalog cache.
2017-09-20 14:03:06 +01:00
David.Hall
de457bfe4b Merge pull request #265 from mariadb-corporation/MCOL-859-1.1
MCOL-859 DDL System catalog mutex deadlock
2017-09-19 15:52:39 -05:00
Andrew Hutchings
8ca85fbb40 MCOL-859 DDL System catalog mutex deadlock
A race between a DDL change and a system catalog version cache update
can cause a deadlock in DDLProc. This makes the mutex recursive.
2017-09-19 15:50:49 -05:00
Andrew Hutchings
1b17175d3b MCOL-877 Fix I_S / LDI cpimport escaping
Backslashes need escaping otherwise they are not sent to cpimport
correctly.
2017-09-19 15:47:27 -05:00
David.Hall
40e0f6296d Merge pull request #258 from mariadb-corporation/MCOL-859-1.0
MCOL-859 DDL System catalog mutex deadlock
2017-09-15 10:18:55 -05:00
David.Hall
729105e793 Merge pull request #260 from mariadb-corporation/MCOL-877-1.0
MCOL-877 Fix I_S / LDI cpimport escaping
2017-09-15 10:16:29 -05:00
Andrew Hutchings
fa1b487bcd MCOL-877 Fix I_S / LDI cpimport escaping
Backslashes need escaping otherwise they are not sent to cpimport
correctly.
2017-09-15 11:19:26 +01:00
Andrew Hutchings
f15b2390a3 MCOL-859 DDL System catalog mutex deadlock
A race between a DDL change and a system catalog version cache update
can cause a deadlock in DDLProc. This makes the mutex recursive.
2017-09-15 10:08:38 +01:00
David Hall
efac173049 MCOL-911 getAggCols needs to look into the objects 2017-09-14 23:46:09 -05:00
David Hall
a0b30f904c MCOL-523 Remove un-implemented functions finish(), getRowCnt(), and getRowsInPartition(). 2017-09-07 16:02:36 -05:00
Andrew Hutchings
fe202e0f13 Merge pull request #245 from mariadb-corporation/MCOL-890
MCOL-890 add logic to perform dictionary lookup for GROUP_CONCAT in t…
2017-08-30 20:36:45 +01:00
David Hall
d30bf8dba1 MCOL-890 add logic to perform dictionary lookup for GROUP_CONCAT in the presence of COUNT(<same col>) 2017-08-29 14:01:18 -05:00
David Hall
a623a2889b MCOL-890 add logic to perform dictionary lookup for GROUP_CONCAT in the presence of COUNT(<same col>) 2017-08-25 10:54:50 -05:00