David Hall
cbef44a0be
MCOL-3503 add MODA aggregate function
2019-09-27 12:22:44 -05:00
Andrew Hutchings
70b3aa3159
Merge branch 'develop-1.2' into develop-merge-up-20190924-2
2019-09-24 14:17:57 +01:00
David Hall
a18ab52997
MCOL-3492 Format cleanup
2019-09-12 10:41:37 -05:00
David Hall
b365a261a1
Merge branch 'MCOL-3435' into MCOL-3492
2019-09-12 09:58:30 -05:00
David Hall
f238a09ee0
MCOL-3435 Don't put nested aggregate into implied group by. Use the csep group by instead of groupByColumnVec.
2019-09-12 09:50:39 -05:00
David Hall
eae773d122
MCOL-3492 Don't do DISTINCT as aggregate in the presence of Window Functions
2019-09-11 12:28:07 -05:00
benthompson15
24e1c3ff2d
Merge pull request #855 from mariadb-corporation/move-etc
...
Move config files
2019-09-09 15:54:30 -05:00
Andrew Hutchings
97bda78c3b
Move config files
...
This patch:
* Moves config files from /usr/local/mariadb/columnstore/etc to
ENGINE_SYSCONFDIR/columnstore (ENGINE_SYSCONFDIR is /etc by default)
* Sets a define called MCSSYSCONFDIR whic contains the
ENGINE_SYSCONFDIR compile time setting
* Modifies scripts and code to use the new paths
* Removes a whole bunch of files we don't use
2019-09-09 14:13:56 +01:00
benthompson15
b658080f06
Merge pull request #854 from mariadb-corporation/remove-vpj
...
Remove vpj files
2019-09-06 10:01:52 -05:00
benthompson15
016523ef47
Merge pull request #851 from mariadb-corporation/fix-packaging
...
Fix my.cnf clash
2019-09-05 18:27:45 -05:00
Andrew Hutchings
3fef0f21d3
Remove vpj files
...
They shouldn't be here
2019-09-05 17:38:03 +01:00
Gagan Goel
67738303ba
1. Enable Item::SUBSELECT_ITEM in the order by clause.
...
2. Do not set the limit to 1 for "exists" in a subquery.
2019-09-04 16:25:11 -04:00
Andrew Hutchings
74d68b4db3
Fix my.cnf clash
...
This patch:
* Moves ColumnStore my.cnf to /etc/my.cnf.d/columnstore.cnf
* Removes unneeded entries from columnstore.cnf
* Removes some things that used my.cnf and are now dead
* Also removes utils/scenarios
* Modifies things that use extra defaults file to use the standard one
* Makes sure that C++11 standard is used for older CMake versions
With this patch we no longer need to set -DINSTALL_SYSCONF2DIR and
-DINSTALL_SYSCONFDIR when building MariaDB server.
2019-09-04 18:51:02 +01:00
Gagan Goel
af988635d4
1. Execution plan now sets limitNum and limitOffset for all cases if an explicit limit is supplied in the query.
...
2. Fallback to using sql_select_limit system variable value if an explicit limit is not supplied.
3. Remove checks that did not allow (2^64 - 1) as a valid limit value.
2019-09-01 23:22:10 -04:00
David Hall
5c8ff4a1eb
MCOL-3435 push an implicit group by for Window Functions in same query as aggregates.
2019-08-29 09:44:17 -05:00
David Hall
608a042065
MCOL-3423 revert PR #806 , which reverted ostensibly no longer needed code from MCOL-3343. That code is needed.
2019-08-20 16:02:39 -05:00
Gagan Goel
6ccdb4ac10
1. Fix for group_concat(distinct ... ) to use all unique values in a row.
...
2. Explicitly set array bounds for Row::hash() and Row::equals().
2019-08-15 01:15:05 -04:00
Roman Nozdrin
b1bc995420
Merge branch 'develop' into remove-infinidb
2019-08-13 12:32:01 +03:00
Roman Nozdrin
6cdca1330b
Merge pull request #808 from mariadb-corporation/develop-merge-up-20190729
...
Merge develop-1.2 into develop
2019-08-13 11:55:22 +03:00
Andrew Hutchings
9d83b49fca
MCOL-104 First pass of InfiniDB rename in code
2019-08-12 09:41:28 +01:00
Patrick LeBlanc
a09a9d5d0f
Mass substitution 'Corporaton' -> 'Corporation'
2019-08-07 14:43:25 -05:00
Andrew Hutchings
83a8924229
Fix namespace and class changes
2019-07-29 13:48:28 +01:00
Andrew Hutchings
811909aa72
Merge branch 'develop-1.2' into develop-merge-up-20190729
2019-07-29 12:19:26 +01:00
David Hall
78eb20ef4e
MCOL-1559 remove the #define POSIX_REGEX and thus the use of regexec. Fix up the code changing #ifdef _MSC_VER to #ifdef POSIX_REGEX, where it applies to regexec.
2019-07-24 12:59:59 -05:00
David Hall
41b7560b65
Merge branch 'develop-1.2' into MCOL-1559
2019-07-23 10:21:23 -05:00
David Hall
05726a9da2
MCOL-1559 Allow for the special case where LIKE is used on CHAR fields
2019-07-22 17:51:26 -05:00
David Hall
c683b6bfc0
MCOL-3404 Revert experimental changes from MCOL-3343
2019-07-16 18:19:03 -05:00
David Hall
cd79a42ec1
MCOL-3404 Back out experimental changes from MCOL-3343
2019-07-16 17:14:17 -05:00
David Hall
b3df052b9f
MCOL-1559 only trim on spaces, not on tabs. Don't ask me why that is.
2019-07-05 12:53:01 -05:00
David Hall
db597e914b
Merge branch 'develop-1.2' into MCOL-1559
2019-07-03 11:20:39 -05:00
David Hall
5993176839
MCOL-1559 add in trim for compare
2019-07-03 11:18:23 -05:00
David Hall
474039b6cf
MCOL-1559 trim strings before compare on equal operator
2019-06-27 10:18:10 -05:00
Andrew Hutchings
9c4ac78105
MCOL-2225 Make cross-engine step use backticks
...
If an InnoDB table has spaces in the column names the cross engine step
would fail. This patch wraps quotes around the table and column names to
support this use case.
2019-06-26 07:50:17 +01:00
David Hall
2255d41eaf
MCOL-3343 Error when no group by for unaggregated fields in window functions.
2019-06-20 15:54:05 -05:00
David Hall
4cf2c37c18
MCOL-3343 Handle windowfunction <arithmetic op> simple column
2019-06-20 09:24:58 -05:00
David Hall
ea6592ea08
MCOL-3343 Try adding aggregate result to jobInfo.nonConstDelCol vector
2019-06-12 14:20:52 -05:00
Andrew Hutchings
f8b834c8ec
Merge pull request #777 from mariadb-corporation/MCOL-3304
...
MCOL-3304 During prepAggregate, if you set type to LONGDOUBLE, set sc…
2019-06-10 14:02:09 +01:00
Andrew Hutchings
5e4f1b9933
Merge branch 'develop' into MCOL-265
2019-06-10 13:58:03 +01:00
Andrew Hutchings
5d96b1d8ba
Merge pull request #775 from mariadb-corporation/MCOL-3314
...
MCOL-3314 Use something useful for stats functions oid and key during…
2019-05-31 11:28:33 +01:00
David Hall
23b594eb28
MCOL-3304 During prepAggregate, if you set type to LONGDOUBLE, set scale to 0
2019-05-28 15:56:30 -05:00
David Hall
6b2f67a237
MCOL-3314 Use something useful for stats functions oid and key during prep1PhaseAggregate
2019-05-23 14:15:58 -05:00
Andrew Hutchings
9390ee05fb
Revert "MCOL-1559 Some string trailing blank stuff"
...
This reverts commit e5d76e142b .
2019-05-23 13:49:08 +01:00
Andrew Hutchings
f3449fe2f4
Revert "MCOL-1559 trailing space compare"
...
This reverts commit 5b581f53cb .
2019-05-23 13:48:31 +01:00
Andrew Hutchings
8b1c0f6101
Revert "MCOL-1559 trim constant varchar string before adding filter"
...
This reverts commit b6484dda4a .
2019-05-23 13:48:00 +01:00
Andrew Hutchings
182e31e282
Revert "MCOL-1559 backout trim before setting compare. Shouldn't do this in all cases."
...
This reverts commit d78944d9ff .
2019-05-23 13:47:42 +01:00
Andrew Hutchings
fa0947caaa
Revert "MCOL-1559 remove unused boost/trim header"
...
This reverts commit 28e743bf38 .
2019-05-23 13:47:20 +01:00
David Hall
750b6ea0ff
MCOL-3314 When setting up statistics functions for the UM, use values that actually exist.
2019-05-17 12:43:18 -05:00
Andrew Hutchings
020b211bb7
Merge branch 'develop-1.2' into develop-merge-up-20190514
2019-05-14 13:58:33 +01:00
Roman Nozdrin
7e2cb05624
MCOL-537 There are no CS-specific warnings building with gcc 8.2.
2019-05-07 16:00:05 +03:00
Roman Nozdrin
9dc33c4e82
Another try to cope with warnings under gcc 8.2.
2019-04-29 11:05:03 +03:00