1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00
Commit Graph

1013 Commits

Author SHA1 Message Date
6f4cfcdc3b MCOL-1070 Fix exists in view subquery
When ExeMgr processes a correlated exists filter for a subquery inside a
view the de-duplication check doesn't work. We sometimes check unique
with the view name, sometimes not. We don't need the view name here so
remove it if we don't have it.

Also push the view name in the subquery.
2018-02-02 10:04:47 +00:00
59f7e14230 MCOL-962 returned wrong value. 2018-01-30 16:25:15 -06:00
243e9e9fb8 MCOL-962 format 2018-01-30 16:21:47 -06:00
43f322ea2f MCOL-962 formating 2018-01-30 16:19:17 -06:00
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
b72fd3d90b MCOL-716 Tables and columns names support a subset of UTF-8 according with MariaDB rules. 2018-01-26 17:05:30 +03:00
60f56bdb2a MCOL-573 Allow restricted words usage with both grave accent(`) and double quote(") quotation. 2018-01-24 09:40:44 +03:00
5d9f9c819b Merge branch 'develop-1.0' into 1.1-merge-up-20180118 2018-01-18 16:28:08 +00:00
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
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
1ffeda44d6 MCOL-962 Add mcsSystemReady(), mcsSystemReadOnly() and mcsWritesSuspended() 2018-01-10 12:17:57 -06:00
39a2253ee1 Merge pull request #346 from drrtuy/MCOL-939
MCOL-939 Moved columnstore version information to columnstoreversion.h for 1.1.X
2017-12-19 13:21:19 -06:00
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
d7c0075536 Merge pull request #350 from mariadb-corporation/1.1-merge-up
1.1 merge up
2017-12-13 08:36:56 -06:00
17f077012d Merge branch 'develop-1.1' into 1.1-merge-up 2017-12-13 09:09:39 +00:00
44c06f2cc3 MCOL-1106 - increased mysqld startup timeouts 2017-12-12 16:32:49 -06:00
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
bea47cc657 MCOL-939 Moved columnstore version information to columnstoreversion.h for 1.1.X 2017-12-12 22:53:33 +03:00
8babe4a35d Merge branch 'develop-1.0' into 1.0-merge-up 2017-12-12 10:01:14 +00:00
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
ae9de1e426 Fix mergeup errors 2017-11-30 15:15:01 +00:00
37f673d121 Merge branch 'develop-1.0' into 1.0-merge-up 2017-11-30 15:09:11 +00:00
932819ba23 Merge branch 'develop-1.1' into merge-up-dev 2017-11-24 11:10:09 +02:00
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
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
dadcd6e969 Merge pull request #319 from mariadb-corporation/MCOL-963
MCOL-963 fix for regressions introduced
2017-11-14 21:55:01 +00:00
9a012444ec MCOL-963 fix for regressions introduced 2017-11-14 15:25:38 -06:00
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
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
c84ea561e1 MCOL-998 - added in binlog_format 2017-11-08 12:10:01 -06:00
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
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
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
4f63212145 mcol-1009 and mcol-1014 2017-11-06 17:46:07 -06:00
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
21e031798c MCOL-963 only set isNewQuery on INFINIDB_CREATE_VTABLE 2017-10-30 18:07:27 -05:00
97eb46213b MCOL-963 reset infinidb_vtable.isNewQuery upon error. Add redo (REDO_PHASE1) counter. 2017-10-30 18:05:19 -05:00
01446d1e22 Reformat all code to coding standard 2017-10-26 17:18:17 +01:00
b70e9b5f67 MCOL-985 Add return code test after call to buildReturnedColumn 2017-10-24 13:49:46 -05:00
16990c8e03 MCOL-985 Add return code test after call to buildReturnedColumn 2017-10-24 13:47:41 -05:00
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
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
cc9edcb54f MCOL-783 Check for recursive cte against all tables in the query. 2017-10-09 15:38:00 -05:00
ff76412f68 MCOL-783 Check for recursive only cte. Check all cte in list. 2017-10-09 15:37:41 -05:00
805300341c MCOL-783 Error not supported for recursive CTE 2017-10-05 11:07:47 -05:00
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
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
a0b30f904c MCOL-523 Remove un-implemented functions finish(), getRowCnt(), and getRowsInPartition(). 2017-09-07 16:02:36 -05:00
401e257df3 MCOL-879 Fix QueryStats linking issues
With 1.1 we have removed libdrizzle and used MariaDB's client library
instead for both CrossEngine and QueryStats. Unfortunately MariaDB 10.2
has two client libraries which have different structs with the same
name. When QueryStats was running inside the ColumnStore plugin this
symbol conflict was causing a crash.

The server's built-in client API has several different and several
missing functions so some additions to sm.cpp were made to fill the
gaps.

This patch does the following:

* Make sure that libmariadb is only linked to executables, not the
ColumnStore Plugin (to avoid symbol conflicts). Note that all
executables that link to CrossEngine and/or QueryStats need to link to
libmariadb to avoid missing symbol issues.
* Use the server's built-in client API for QueryStats when run in the
plugin
* Replace missing server built-in client API calls in sm.cpp (this is
for QueryStats and CrossEngine to keep the dynamic linker happy)
* Fixes issue where using 'localhost' as the MariaDB Server hostname
would fail in QueryStats.
2017-08-18 10:16:52 +01:00
3330495a2e MCOL-777 Cleanup source
Clean out autotools and some other things from the source tree.
2017-08-07 15:59:56 +01:00