David Hill
4e6e5647ef
MCOL-520
2018-09-21 10:40:05 -05:00
David Hill
bf13a50800
MCOL-520 - remove sudo work and cleanup
2018-09-20 09:37:07 -05:00
david hill
2f58c7cc8d
Merge pull request #574 from mariadb-corporation/develop
...
Develop
2018-09-19 14:01:38 -05:00
Andrew Hutchings
3326be00de
Merge pull request #565 from drrtuy/MCOL-1601
...
MCOL-1601 GROUP BY now supports subqueries in HAVING.
2018-09-18 13:57:17 +01:00
Roman Nozdrin
5cab6c4c70
MCOL-1601 Removed unused symbols.
2018-09-18 11:23:38 +03:00
Roman Nozdrin
18143ecaee
MCOL-1052 Remove unused symbols.
2018-09-17 16:18:54 +03:00
Roman Nozdrin
aa11707585
MCOL-1052 ExeMgr now logs original queries processed by GROUP BY handler.
2018-09-17 16:17:11 +03:00
Roman Nozdrin
1d0488df33
MCOL-1601 GROUP BY supports subqueries in HAVING(derived tables processed by the server.)
2018-09-17 16:15:10 +03:00
Roman Nozdrin
5821a71072
MCOL-1717 GROUP BY handler now processes only relevant queries.
2018-09-12 14:08:35 +03:00
David Hall
1b4063666b
Merge branch 'develop' into MCOL-521-b
2018-09-10 13:55:52 -05:00
David Hall
52cbb62317
MCOL-1698 Fix code for DISTINCT in UDAnF
2018-09-10 13:53:56 -05:00
Ravi Prakash
5247dfa082
MCOL-1188 assertion 'fColumn.get() && fSub && fFunc' failed,...
...
Some cleanup for the previous check-in.
2018-09-04 12:20:40 -07:00
Roman Nozdrin
5b682a522e
MCOL-1510: Add CalpontSelectExecutionPlan::serialize() changes.
2018-09-03 16:28:36 +03:00
Ravi Prakash
58bc867ca1
MCOL-1188 assertion 'fColumn.get() && fSub && fFunc' failed, ... MySQL server crashed.
...
The problem was in processing a subquery in the where clause that was categorized as a
CACHE_ITEM in the parse tree. The fix involved how we walk the parse tree in gp_walk().
2018-08-30 20:24:24 -07:00
Roman Nozdrin
07561c43d7
MCOL-1052 LIMIT processing refactoring in getGroupPlan().
2018-08-30 17:03:14 +03:00
Roman Nozdrin
62f296b443
MCOL-1510 Make changes to allow aggregations as function arguments when build in release mode. See also MDEV-16842.
2018-08-30 16:59:41 +03:00
David Hall
91fbfb7d0b
MCOL-1669 get correct return type when a built-in agg is performed on a const
2018-08-23 15:14:17 -05:00
David.Hall
23e99db0ea
Merge pull request #545 from mariadb-corporation/1.1-merge-up-20180817
...
Merge develop-1.1 into develop
2018-08-20 14:07:35 -05:00
David.Hall
2de158133c
Merge pull request #540 from drrtuy/MCOL-1637
...
MCOL-1637 Return limit value comparision to fix the regression.
2018-08-20 09:38:52 -05:00
Roman Nozdrin
07bd413053
MCOL-1660/1659 Table/column identifiers support spaces in DDL.
...
MCOL-1660/1659 Table/column identifiers support spaces in DDL.
2018-08-18 15:29:52 +03:00
Andrew Hutchings
03da6df473
Merge branch 'develop-1.1' into 1.1-merge-up-20180817
2018-08-17 16:17:13 +01:00
Ravi Prakash
e5891e4ddc
Fix MCOL-1577 ColumnStore to allow CREATE TABLE table_name LIKE Syntax
...
The code walks the source table meta-data structure to generate CREATE
table statement which creates the new table.
2018-08-16 17:26:53 -07:00
David Hall
f4af014435
MCOL-521 Put regr functions in their own library
2018-08-16 17:10:52 -05:00
Roman Nozdrin
a98aec07fa
MCOL-1655 removed hardcoded %debug from ddl.y.
2018-08-17 01:10:00 +03:00
David Hall
611cdb204d
MCOL-521 Re-do changes for MariaDB 10.3 merge
2018-08-16 11:17:39 -05:00
drrtuy
69486310f2
MCOL-1637 Return limit value comparision to fix the regression.
2018-08-16 13:01:04 +03:00
Andrew Hutchings
52082ebfd5
MCOL-1653 Fix namespace issue
...
Boost is taken out of global namespace to fix a conflict with MariaDB
10.3. This broke to_string in CentOS. Explicit namespace now used.
2018-08-15 08:30:02 +01:00
Ravi Prakash
5df447b6ec
Fix MCOL-1635 where an "insert into table select query" crashes the server. This happens
...
for a MEDIUMBLOB column type.
2018-08-14 11:59:09 -07:00
benthompson15
0df1b92226
Merge pull request #525 from mariadb-corporation/MCOL-1472
...
MCOL-1472 Add switch to handle nested case
2018-08-06 12:33:47 -05:00
Andrew Hutchings
3a159908f4
MCOL-1385 Fix window functions
...
MariaDB maps MEDIAN to PERCENTILE_CONT and also has PERCENTILE_DISC now.
So remove our MEDIAN UDAF but keep the source as it is used in docs.
2018-08-03 11:55:49 +01:00
Andrew Hutchings
443a2867c4
MCOL-1385 Initial 10.3 support
2018-08-02 14:55:01 +01:00
Roman Nozdrin
d852e7a487
Uses correct .so file for UDAF regr_avgx creation statement.
2018-07-28 14:16:48 +03:00
David Hill
926314bf17
MCOL-1523 - enhance to failover module when ddl/dmlproc crashes
2018-07-26 14:30:14 -05:00
David Hall
7ec1ccac5e
MCOL-1472 Add switch to handle nested case
2018-07-24 10:16:26 -05:00
benthompson15
ced7eb4046
Merge pull request #522 from mariadb-corporation/MCOL-1531
...
MCOL-1531 Don't compare alias in == operators for ReturnedColumn types
2018-07-24 10:07:05 -05:00
David Hall
ec9069853e
MCOL-1531 Remove commented fields from equality functions
2018-07-24 09:10:46 -05:00
Roman Nozdrin
1ae4ddd28f
Merge pull request #516 from mariadb-corporation/MCOL-1037
...
MCOL-1037 Fix race condition in FIFO buffer
2018-07-18 12:03:00 +03:00
Andrew Hutchings
4a3f8b77c2
Merge pull request #519 from drrtuy/MCOL-1510
...
MCOL-1510 GROUP BY handler doesn't support operations on aggregate functions when projecting columns.
2018-07-18 09:34:13 +01:00
Roman Nozdrin
1995e92788
MCOL-1527 CEJ DML statements now return correct number of affected rows.
2018-07-17 20:17:51 +03:00
Roman Nozdrin
a62a2e321e
MCOL-1510 CS prints IDB-1001 error when agregates used in non-supported functions, e.g. NOT(sum(i)).
2018-07-12 14:25:46 +03:00
Roman Nozdrin
cc474f429c
MCOL-1510 GROUP BY supports aggregates as arguments in string functions.
2018-07-11 20:57:17 +03:00
Andrew Hutchings
4f6949835d
MCOL-1037 Fix race condition in FIFO buffer
...
The FIFO buffer could get data in next() whilst a data swap is happening
due to a rare race condition. This patch adds mutexes around the parts
that could race.
The observed effect of this race was during a complex aggregate query
the results would occasionally be incorrect.
In addition this fixes a race condition in PrimProc's regex processor.
2018-07-11 15:32:27 +01:00
David Hall
11d2094089
MCOL-1531 Don't compare alias in == operators for ReturnedColumn types
2018-07-10 14:03:17 -05:00
Andrew Hutchings
1fa2537575
Merge pull request #515 from drrtuy/MCOL-1497
...
MCOL-1497 GROUP BY handler supports outer joins.
2018-07-10 09:24:35 +01:00
Andrew Hutchings
fc0a8b1043
Merge pull request #503 from drrtuy/MCOL-1457
...
MCOL-1457 GROUP BY handler supports aliases of projected columns in ORDER BY list.
2018-07-10 09:23:53 +01:00
Roman Nozdrin
80fc93c9df
MCOL-1510 GROUP BY supports aggregates as arguments in numerical functions.
2018-07-09 18:36:28 +03:00
Roman Nozdrin
bd641301da
Merge pull request #504 from mariadb-corporation/1.1-merge-up-20180621
...
Merge develop-1.1 into develop
2018-07-04 22:52:04 +03:00
Roman Nozdrin
77b52a6a32
MCOL-1446 CS sorting direction aligned with the server`s.
2018-07-03 19:55:30 +03:00
Roman Nozdrin
cdd9bed1ae
MCOL-1510 GROUP BY supports functions with aggregation funcs as arguments in projections, e.g. sum(i)+1.
2018-07-03 18:22:13 +03:00
Ravi Prakash
5ea9cad2d4
MCOL-1155 Remove try-catch block by an explicit check for a null pointer.
2018-06-26 13:13:59 -07:00