Patrick LeBlanc
1390372c35
Define a dummy columnstore target when doing a standalone build.
2020-06-30 13:02:07 -04:00
David Hall
085b06d422
Merge branch 'develop' into MCOL-4126
2020-06-30 11:25:11 -05:00
David Hall
8179ffffdf
MCOL-4126 Don't reset ci->tableOid if not autocommit.
2020-06-30 11:21:30 -05:00
Patrick LeBlanc
9675439e86
Merge pull request #1316 from dhall-MariaDB/MCOL-4124
...
MCOL-4124 return error when COMMIT|ROLLBACK error
2020-06-30 11:00:08 -05:00
Patrick LeBlanc
41745490ed
Revert "MCOL-4126 reset ci->tableOid after INSERT|DELETE"
2020-06-30 10:37:34 -05:00
Patrick LeBlanc
9dd6d1fb5c
Merge pull request #1318 from dhall-MariaDB/MCOL-4126
...
MCOL-4126 reset ci->tableOid after INSERT|DELETE
2020-06-30 09:26:44 -05:00
Patrick LeBlanc
f094358e85
Merge pull request #1319 from vuvova/develop
...
fix auto-disabling of the columnstore for bintars
2020-06-30 09:13:59 -05:00
Sergei Golubchik
1e8eaa0550
fix RPM detection
...
RPM|DEB is not a valid cmake condition
Also: DRY
2020-06-30 16:04:09 +02:00
David Hall
ff3a7835c5
MCOL-4124 Don't not return error when Insert fails
2020-06-29 17:50:11 -05:00
David Hall
0a2fe7d2fb
MCOL-4126 reset ci->tableOid after INSERT|DELETE
2020-06-29 16:20:05 -05:00
Patrick LeBlanc
8b76a68257
Merge pull request #1311 from tntnatbry/MCOL-4109
...
MCOL-4109 Error out instead of sending a warning
2020-06-29 14:20:12 -05:00
David Hall
4dddaa0274
MCOL-4124 return error when COMMIT|ROLLBACK error
2020-06-29 11:21:02 -05:00
Patrick LeBlanc
d840fab5a3
Merge pull request #1309 from dhall-MariaDB/MCOL-4100
...
MCOL-4100 Use correct collation for certain functions
2020-06-29 10:32:01 -05:00
Gagan Goel
2ba9263df4
Silence -Werror=implicit-fallthrough compiler errors - Patch from Monty.
...
The patch also fixes some potential bugs due to missing break
statements.
2020-06-26 12:32:57 -04:00
Patrick LeBlanc
cc7251d9db
Merge pull request #1306 from benthompson15/MCOL-4030
...
MCOL-4030
2020-06-26 09:49:54 -05:00
Gagan Goel
bdf1336ad7
MCOL-4109 Error out instead of sending a warning
...
when a non-existing table is dropped.
This patch accomodates the changes made to server 10.5 as part
of MDEV-11412, where the server now tries to drop the table from
all storage engines when a .frm table does not exist.
We were earlier retuning a warning to the client and setting the
return code to 0. We now instead return ER_NO_SUCH_TABLE_IN_ENGINE
error code to the server if the table does not exist in
ColumnStore.
2020-06-25 22:57:05 -04:00
Roman Nozdrin
1e0fa1aaa0
Disable plugin for bintar builds.
2020-06-25 12:45:05 +00:00
David Hall
3f15ed1303
MCOL-4100 Use correct collation for certain functions
...
LOCATE, INSTR, STRCMP and FIND_IN_SET
2020-06-24 15:32:22 -05:00
benthompson15
eac7dab096
MCOL-4030: first commit of warning removals unneed const and missing virtual dtors.
2020-06-23 13:51:36 -05:00
Roman Nozdrin
1ac4b8db38
MCS now reduces plugin_maturity down to beta.
2020-06-21 12:51:38 +00:00
Roman Nozdrin
d7bfef41bb
Change the way MCS runs SQL installing the plugin.
...
Clean MDB objects up uninstalling the plugin.
2020-06-18 13:34:51 +00:00
Gagan Goel
d37f4722e1
Disable the ColumnStore cache plugin.
2020-06-16 14:42:35 -04:00
Roman Nozdrin
3cfbda3ad3
Disable the Columnstore_cache engine w/o reverting it.
2020-06-16 12:33:20 +00:00
Roman Nozdrin
5d6dc97aad
Merge pull request #1254 from mariadb-corporation/columnstore_cache
...
Columnstore cache
2020-06-15 14:26:43 +03:00
benthompson15
abb8aa3d8b
MCOL-4033: table changed to lowercase.
2020-06-12 14:35:54 -05:00
Patrick LeBlanc
653a5f4554
Merge pull request #1258 from dhall-MariaDB/MCOL-3536
...
Mcol 3536
2020-06-08 18:46:58 -05:00
David Hall
f9078efbc6
MCOL-3536 Collation
2020-06-08 17:57:37 -05:00
David Hall
d289c30521
MCOL-3536 Collation
2020-06-08 17:19:07 -05:00
Gagan Goel
1a5c6910da
Make changes based on feedback to PR #1254 for the cache.
2020-06-08 14:11:30 -04:00
David Hall
1d5e820e97
Merge branch 'develop' into MCOL-3536
...
Conflicts:
CMakeLists.txt
2020-06-04 16:22:59 -05:00
Gagan Goel
1216f9fc70
For INSERT ... SELECT, don't use the is_cache_insert flag
...
when starting bulk insert. This will invoke cpimport for
the query instead of batch inserts mode. This is intentional
as batch inserts currently have an edge case mentioned in
MCOL-4037 that needs to be fixed.
2020-06-04 12:29:37 -04:00
David Hall
889094a23d
MCOL-3536 Collation
2020-06-03 19:43:53 -05:00
Gagan Goel
dd9372c4e8
Fix INSERT ... SELECT on self.
...
For queries of the form:
insert into cache1 select * from cache1;
We had a crash in the second call to get_status_and_flush_cache
due to cache->table being 0. This happened because for one of the
two ha_mcs_cache instances involved in this query, the call to
ha_mcs_cache::open was not setting cache_handler->file->lock.status_param.
The assignment to status_param was earlier protected by an if condition.
Solution is to remove that if condition in ha_mcs_cache::open.
2020-06-03 15:20:03 -04:00
Gagan Goel
c30d105c30
Use batch inserts for the cache flush.
2020-06-03 15:20:03 -04:00
Gagan Goel
e671b1d1e2
1. Some fixes to the cache interface code.
...
2. Set a Columnstore_cache table as a non-foreign engine table in isMCSTable().
2020-06-03 15:20:03 -04:00
Gagan Goel
43d5d511d7
Initial port of Monty's code of the ColumnStore cache.
2020-06-03 15:20:03 -04:00
Roman Nozdrin
ccdfe98409
Removed the last call of postConfigure(RIP). Changed dangerous default setting see MDEV-22197.
2020-06-03 16:31:56 +00:00
Gagan Goel
57f393feaf
Merge pull request #1246 from pleblanc1976/mcol-4023-1.5
...
Merge MCOL-4023 fix into 1.5
2020-06-02 11:33:10 -04:00
David Hall
46668d2607
Merge branch 'develop' into MCOL-3536
2020-06-01 15:09:44 -05:00
David Hall
78ac310e42
MCOL-3536 Collation
2020-06-01 15:08:15 -05:00
Patrick LeBlanc
4bddc92092
MCOL-4010 - fixes compilation errors on x64 w/-Werror
...
Merged in Sergei's patch.
2020-06-01 12:52:43 -04:00
Gagan Goel
01ff2652a6
MCOL-4023 Pushdown WHERE conditions for UPDATE/DELETE.
...
For certain queries, such as:
update cs1 set i = 41 where i = 42 or (i is null and 42 is null);
the SELECT_LEX.where does not contain the required where conditions.
Server sends the where conditions in the call to cond_push(), so
we are storing them in a handler data member, condStack, and later
push them down to getSelectPlan() for UPDATES/DELETEs.
2020-06-01 11:03:42 -04:00
David Hall
a43de9d536
Merge branch 'develop' into MCOL-3536
2020-05-28 14:20:32 -05:00
Patrick LeBlanc
5b6f1290d7
Merge pull request #1217 from tntnatbry/develop-mcol4005
...
MCOL-4005 Fix handling of utf8 and \ for TEXT data type
2020-05-27 09:36:15 -05:00
Roman Nozdrin
60b417b47f
Merge pull request #1221 from jmrojas2332/develop
...
MCOL-3915 Update columnstore install and uninstall procedure
2020-05-27 16:26:14 +03:00
Roman Nozdrin
2647629c5d
Merge pull request #1223 from drrtuy/MCOL-4018
...
MCOL-4018 Disable legacy OAM by default.
2020-05-27 11:33:36 +03:00
Roman Nozdrin
ee4589ef40
MCOL-4018 Disable legacy OAM by default.
2020-05-27 08:32:03 +00:00
Jose
9ad1041df9
MCOL-3915 Related. Fix to install_mcs_mysql.sh.in
2020-05-26 19:28:11 +00:00
David.Hall
eec7b58a40
Merge pull request #1195 from jmrojas2332/MCOL-3813
...
MCOL-3813 Count with view is incorrect
2020-05-26 12:58:22 -05:00
David Hall
06e50e0926
MCOL-3536 collation
2020-05-26 12:42:11 -05:00