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
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
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
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
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
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
David Hall
9a012444ec
MCOL-963 fix for regressions introduced
2017-11-14 15:25:38 -06: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
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
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
bc2a4e7795
MCOL-523 Add UDAF and UDAnF SDK
2017-08-02 11:22:07 -05:00
Andrew Hutchings
d76c111690
Support ORDER BY NULL
2017-07-11 15:15:11 +01:00
Andrew Hutchings
f3f830a9ca
Support ORDER BY NULL
2017-07-11 15:14:24 +01:00
Andrew Hutchings
4f3968fb36
MCOL-657 Support the <=> operator
...
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 12:00:06 +01:00
Andrew Hutchings
e58333d4f2
MCOL-657 Support the <=> operator
...
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 11:57:28 +01:00
Andrew Hutchings
dc4f38a877
MCOL-686 Fix BETWEEN performance
...
BETWEEN was executing as a function on each row which meant that extent
elimination couldn't happen. We now execute as a predicate function
instead.
2017-05-08 21:07:39 +01:00
dhall-InfiniDB
1c2a8fccf3
Merge pull request #164 from mariadb-corporation/MCOL-697
...
MCOL-697 Limit the return length for LONGBLOB
2017-05-03 17:18:49 -05:00
Andrew Hutchings
e03267ae4b
MCOL-697 Limit the return length for LONGBLOB
...
For LONGBLOB the string return length was 4GB for functions which got
converted to -1 and then to 20. This patch sets it to just under 2GB
which we use for LONGBLOB everywhere else.
2017-05-03 21:30:25 +01:00
dhall-InfiniDB
cb788c0be2
Merge pull request #163 from mariadb-corporation/MCOL-697
...
MCOL-697 Remove 64KB VARCHAR response limit
2017-05-03 09:43:29 -05:00
Andrew Hutchings
de06c48b6c
MCOL-697 Remove 64KB VARCHAR response limit
...
This was a hard coded limit due to StringStore not being able to handle
more than this. It restricts hex() unnecessarily and is now redundant.
2017-05-03 08:07:56 +01:00
dhall-InfiniDB
d98d40bdb4
Merge pull request #160 from mariadb-corporation/MCOL-686
...
MCOL-686 Fix BETWEEN performance
2017-05-02 17:10:34 -05:00
Andrew Hutchings
057f731713
MCOL-686 Fix BETWEEN performance
...
BETWEEN was executing as a function on each row which meant that extent
elimination couldn't happen. We now execute as a predicate function
instead.
2017-04-27 17:32:19 +01:00
David Hall
f6caa88703
MCOL-597 merge with 10.2.5
2017-04-25 16:49:32 -05:00
David Hall
b9d06e2bf2
MCOL-597 some clean up and make Release builds work
2017-04-21 10:38:51 -05:00
David Hall
b15f79e8ce
MCOL-597 Fix up Windows Functions
2017-04-21 10:38:44 -05:00
David Hall
324a9fd215
MCOL-597 Fix up Windows Functions
2017-04-21 10:38:44 -05:00
David Hall
3055964ddc
MCOL-597 stabilization
2017-04-21 10:38:44 -05:00
David Hall
12acd033fb
MCOL-597 Take Window Functions just to get a compile. No other changes were needed.
2017-04-21 10:38:44 -05:00
David Hall
b070ef3217
MCOL-597 some clean up and make Release builds work
2017-04-21 09:48:59 -05:00
David Hall
d531796bf2
MCOL-597 Fix up Windows Functions
2017-04-21 09:47:56 -05:00
David Hall
d7da34c249
MCOL-597 Fix up Windows Functions
2017-04-21 09:47:56 -05:00
David Hall
a3c4503bc9
MCOL-597 stabilization
2017-04-21 09:47:56 -05:00
David Hall
f9e5b7b507
MCOL-597 Take Window Functions just to get a compile. No other changes were needed.
2017-04-21 09:47:56 -05:00
Andrew Hutchings
b60c45a968
MCOL-653 Revert SUM(1) behaviour
...
SUM(1) behaviour was changed as part of MCOL-301. But the original
behaviour was correct.
2017-03-31 21:48:56 +01:00