Roman Nozdrin
720e1d91b9
MCOL-1052 WIP Clean up the code.
2018-04-11 16:15:12 +03:00
Roman Nozdrin
ba38e392fc
MCOL-1052 WIP Uses item_ptr instead of auxilary vector; Changes fetchNextRow() interface and remove unused funcs; Uncomment extra checks in ha_calpont_impl_group_by_init().
2018-04-11 15:52:26 +03:00
Roman Nozdrin
5a0ff2bb60
MCOL-1052 WIP group_by_handler processes agg functions in ORDER BY now. debug_walk() outputs information about extended SELECT list items.
2018-04-10 18:55:19 +03:00
Andrew Hutchings
a80854c11f
MCOL-1182 Keep filters for cross engine step
...
Cross engine step needs the filters for joining a constant with the
cross engine table. Deleting them early causes a crash.
2018-04-10 14:14:22 +01:00
Roman Nozdrin
05bca5382d
MCOL-1052 WIP HAVING filter works. Decline non GROUP BY fields not presented in the ORDER BY list with error.
2018-04-10 04:27:08 +03:00
Andrew Hutchings
280dcb44bf
Merge branch 'develop-1.1' into dev-merge-up-20180409
2018-04-09 19:15:18 +01:00
Roman Nozdrin
6bd13849b2
MCOL-1052 WIP Use SELECT fields referenced in HAVING items list.
2018-04-07 04:46:34 +03:00
Roman Nozdrin
617ff85b94
MCOL-1052 WIP Working with HAVING over agg functions problem.
2018-04-05 17:20:26 +03:00
David Hall
fa43a962a8
MCOL-1325 rename table fails when database different than current database
2018-04-04 15:56:53 -05:00
David Hall
aa581b5dc3
MCOL-1234 Nested CASE filters not processed
...
Change the way buildCaseFunction() handles the ptWorkStack and the rcWorkStack.
2018-04-02 17:02:54 -05:00
Roman Nozdrin
78aeedb162
MCOL-1052 WIP Process UNION subqueries separetely.
2018-04-02 15:03:59 +03:00
Roman Nozdrin
d562caecba
MCOL-1052 Generate and send CSEP to and receive set data from ExeMgr.
2018-03-31 22:38:18 +03:00
Roman Nozdrin
a47f16054d
MCOL-1052 Use existed getSelectPlan as a basis for group_by_handler plan generation.
2018-03-30 19:07:33 +03:00
David Hall
c83896609d
MCOL-1196 add a comment
2018-03-27 15:23:47 -05:00
David Hall
73b1ac68fa
MCOL-1196 Error when using OR in case THEN portion
...
In ha_calpont_execplan, Allow OR to be parsed; in searched_case parsing, reverse the order of processing arguments so that ptWorkStack.pop() is executed in the same order as the arguments being processed.
In func_case, modify to pass left and right to getBoolVal, if they exist.
2018-03-27 12:43:43 -05:00
Roman Nozdrin
fa4067b6f0
MCOL-1052 Generate execution plan for a aggregated function query call.
2018-03-27 18:37:00 +03:00
Roman Nozdrin
cff504c8bf
MCOL-1052. init_scan() initial implementation.
2018-03-22 17:12:56 +03:00
Roman Nozdrin
a03ecb7a8e
MCOL-1052. The handler returns fixed value.
2018-03-19 20:45:21 +03:00
Roman Nozdrin
e14b327a57
MCOL-1052: Skeleton for group_by_handler for CS.
2018-03-17 14:06:23 +03:00
benthompson15
7075b9571d
Merge pull request #415 from mariadb-corporation/1.1-mergeup-20180224
...
Merge develop-1.1 into develop
2018-03-09 11:15:23 -06:00
Andrew Hutchings
17e954db7d
MCOL-1246 Fix string matching for whitespace
...
For equality string matches other engines ignore trailing whitespace
(this does not apply to LIKE matches). So we should do the same. This
patch trims whitespace for MIN/MAX extent elimination checks, fixed
width columns and dictionary columns during equality matches against
constants (SELECT * FROM t1 WHERE b = 'ABC').
2018-03-07 16:56:42 +00:00
Roman Nozdrin
55e0ab2386
Merge pull request #414 from mariadb-corporation/MCOL-1228
...
MCOL-1228 Allow alter table for TEXT/BLOB
2018-03-07 11:07:19 +03:00
Roman Nozdrin
cfe288fd6b
MCOL-1219: Object and column identifiers can start with a digit now.
2018-02-28 10:31:42 +03:00
Andrew Hutchings
bd71dd1d7a
MCOL-1084 Fix TABLE_USAGE() when dict is 0 bytes
...
Dict size of 0 bytes returns NULL which means that the total count is 0.
This fix uses COALESCE to stop this happening.
2018-02-24 18:34:59 +00:00
Andrew Hutchings
21d8f04a65
Merge branch 'develop-1.1' into 1.1-mergeup-20180224
2018-02-24 11:07:24 -05:00
Andrew Hutchings
8f1136474f
MCOL-1228 Allow alter table for TEXT/BLOB
...
CHANGE COLUMN was blocked for TEXT and BLOB types. This fix applies to
things like TINYTEXT as well as the only difference internally is the
column width.
2018-02-24 08:04:17 -05:00
Andrew Hutchings
c7685a6953
Merge pull request #405 from mariadb-corporation/MCOL-1212
...
MCOL-1212 Diuring abort, ensure that all normal threads are complete …
2018-02-14 16:51:10 +00:00
Andrew Hutchings
54dea02f2a
Fix view alias regression
...
An unneeded change from the fix for MCOL-1070 that broke vTpch01b.sql
2018-02-14 16:43:19 +00:00
David Hall
e03d75feb6
MCOL-1212 Diuring abort, ensure that all normal threads are complete before running abort threads. Otherwise, they clash.
2018-02-14 10:02:50 -06:00
Andrew Hutchings
c6e2a952f0
MCOL-1210 Allow procs to be called from any schema
...
The columnstore_info procs could only be called from within
columnstore_info due to them assuming format_filesize() is local. This
patch calls format_filesize() with an explicit schema allowing it to
work correctly.
2018-02-09 09:45:49 +00:00
Roman Nozdrin
7c0086c920
MCOL-876. CS now partially supports RENAME TABLE statement.
2018-02-07 09:31:11 +03:00
benthompson15
05431bf705
Merge pull request #389 from mariadb-corporation/MCOL-962
...
Mcol 962
2018-02-05 15:55:59 -06:00
Andrew Hutchings
0d7c0f7ae4
Merge branch 'develop-1.1' into dev-merge-up-20180202
2018-02-02 14:53:36 +00:00
Andrew Hutchings
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
David Hall
59f7e14230
MCOL-962 returned wrong value.
2018-01-30 16:25:15 -06:00
David Hall
243e9e9fb8
MCOL-962 format
2018-01-30 16:21:47 -06:00
David Hall
43f322ea2f
MCOL-962 formating
2018-01-30 16:19:17 -06:00
David Hall
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
Roman Nozdrin
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
Andrew Hutchings
ac5941e1bd
Merge branch 'develop' into MCOL-548
2018-01-24 11:13:32 +00:00
Roman Nozdrin
efff98d7ed
MCOL-548 Remove cmake warnings.
2018-01-24 11:09:32 +03:00
Roman Nozdrin
60f56bdb2a
MCOL-573 Allow restricted words usage with both grave accent(`) and double quote(") quotation.
2018-01-24 09:40:44 +03:00
Andrew Hutchings
5d9f9c819b
Merge branch 'develop-1.0' into 1.1-merge-up-20180118
2018-01-18 16:28:08 +00:00
Andrew Hutchings
12e4960a04
Merge pull request #367 from mariadb-corporation/MCOL-1165
...
MCOL-1165 use the threadpool's idle down feature
2018-01-18 16:00:01 +00:00
David Hall
9749d825b5
MCOL-1165 use the threadpool's idle down feature
2018-01-16 13:26:44 -06:00
benthompson15
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
David Hall
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
Andrew Hutchings
881e7a2ff8
Merge pull request #355 from drrtuy/MCOL-497-1.2
...
MCOL-497 securing mysql connection with TLS in crossengine and querystats code.
2018-01-10 22:32:00 +00:00
David Hall
1ffeda44d6
MCOL-962 Add mcsSystemReady(), mcsSystemReadOnly() and mcsWritesSuspended()
2018-01-10 12:17:57 -06:00
benthompson15
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