1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00
Commit Graph

1124 Commits

Author SHA1 Message Date
Patrick LeBlanc
acb464618c Wrote a component test, which has a stand-in server thread
in place of an actual StorageManager.  The server thread
returns the same error over and over again.

Used that test to debug some basic comm stuff & find
errors in error handling.
2019-01-24 16:52:26 -06:00
Patrick LeBlanc
f063f78242 Fixed some linker errors, integrated the cloudio factory
into idbfactory.
2019-01-23 14:12:57 -06:00
Patrick LeBlanc
099c724ced Update storage-manager ref. 2019-01-23 13:05:07 -06:00
Patrick LeBlanc
51bb9f3050 Added licensing preamble. Got it to build. 2019-01-23 13:02:53 -06:00
Roman Nozdrin
ee2cb7b0de Merge pull request #652 from mariadb-corporation/MCOL-1983
MCOL-1983 Have regr_intercept, regr_slope and regr_r2 return NULL for…
2019-01-23 20:37:50 +03:00
Patrick LeBlanc
88273bfc14 Finished the first cut. I assume it doesn't build yet. 2019-01-22 16:12:49 -06:00
Patrick LeBlanc
3d58581945 Update storage-manager ref. 2019-01-22 16:04:32 -06:00
Patrick LeBlanc
2e5d6db0c7 Forgot another small thing. I'm a dummy. 2019-01-22 10:17:18 -06:00
Patrick LeBlanc
259060fb29 Forgot something in the bytestreampool code. 2019-01-22 10:11:50 -06:00
Patrick LeBlanc
d92be01ee2 Added a ByteStreamPool class for cases where we'd otherwise
have to do something complicated, or constantly create and dispose
of ByteStreams.
2019-01-22 10:09:08 -06:00
Andrew Hutchings
95c4f17b0a Merge branch 'develop-1.1' into 1.2-merge-up-20190122 2019-01-22 08:26:26 +00:00
Patrick LeBlanc
d84dcb9ccc Checkpointing, not ready to build yet. 2019-01-21 16:41:04 -06:00
David Hall
79811ded8e Merge branch 'develop-1.2' into MCOL-1983
Conflicts:
	VERSION
	utils/windowfunction/windowfunctiontype.cpp
2019-01-21 14:51:43 -06:00
David Hall
16a6a0a27c MCOL-1983 Use long double for internal calculations of regr_*** functions. 2019-01-21 14:39:51 -06:00
Patrick LeBlanc
d53471fc75 Checkpointing some stuff. No way it'll build yet. 2019-01-18 10:19:14 -06:00
Roman Nozdrin
7b4cec5757 MCOL-1829 Subquery with limited order by could potentially return onordered set.
There were two code mistakes: Eq::operator() always returned true for
    any pair and Hasher::operator() always returned 0 as a key.
2019-01-14 16:55:41 +03:00
Andrew Hutchings
ab74bec10b Merge branch 'develop-1.1' into 1.2-merge-up-20190111 2019-01-11 20:16:38 +00:00
Gagan Goel
6deb5e1bfd MCOL-2057 Fix truncate(x,d) when d < 0 for unsigned int data types
For unsigned data types in the int family (tinyint, smallint, int, bigint),
truncate(x, d) now properly applies zeros when d < 0.
2019-01-08 20:15:04 -05:00
David Hall
eb75d3cd7e MCOL-1983 Reject non-numeric arguments for regr_*** functions that require numeric 2019-01-02 10:31:53 -06:00
Gagan Goel
d1ada75395 MCOL-270 Add support for MEDIUMINT data type 2018-12-30 19:13:16 -05:00
David Hall
4701e8f4af Merge branch 'develop' into MCOL-1983 2018-12-27 11:06:11 -06:00
Roman Nozdrin
35a17a87c4 MCOL-1829 Subquery with limited order by could potentially return onordered set.
There were two code mistakes: Eq::operator() always returned true for
	any pair and Hasher::operator() always returned 0 as a key.
2018-12-26 10:39:32 +03:00
Patrick LeBlanc
8220579b9a Merge pull request #656 from mariadb-corporation/MCOL-1676-1.1
MCOL-1676 Window Functions with FLOAT type gives incorrect answer
2018-12-21 19:33:44 -06:00
Andrew Hutchings
82bd9e29f5 Merge branch 'develop-1.1' into 1.1-merge-up-2018-12-20b 2018-12-20 20:55:00 +00:00
Andrew Hutchings
e4ee1095de Merge branch 'develop-1.1' into 1.1-merge-up-2018-12-20 2018-12-20 20:37:24 +00:00
David Hall
cc70726a33 MCOL-1983 For MCOL-1676 the reset of fValOut to NULL happens too soon. 2018-12-13 15:49:11 -06:00
David Hall
e8208d1690 Merge branch 'MCOL-1981' into MCOL-1983 2018-12-13 13:46:12 -06:00
David Hall
514f2ce7f0 Merge branch 'MCOL-1676' into MCOL-1983 2018-12-13 13:30:56 -06:00
Andrew Hutchings
7989ccefe0 MCOL-2018 Fix array bounds issue
StringStore NULL check includes a check for _CpNuLl_ in the
StringStore. This is a case should never happen but we keep it just in
case.

Unfortunately this check was skipping 4*8 bytes instead of just 4 bytes.
This is definitely bad behaviour but it could cause an out-of-bounds read
based crash.
2018-12-12 18:06:09 +00:00
David Hall
9d438f0a24 MCOL-1676 Window Functions with FLOAT type gives incorrect answer 2018-12-11 09:37:12 -06:00
David Hall
86ebce7b39 MCOL-1981 regr_avgx and regr_avgy should return NULL if count is zero 2018-12-10 11:42:01 -06:00
David Hall
4e74bbc7d7 MCOL-1676 -- setvalue based on output column type rather than input column type. 2018-11-29 15:29:57 -06:00
David Hall
0cef3bf31c MCOL-1983 Have regr_intercept, regr_slope and regr_r2 return NULL for 1 or 0 rows in set 2018-11-29 13:31:12 -06:00
David Hall
ed43876695 MCOL-1793 Refactor to handle another edge case. Also fix CORR and reset 2018-11-28 15:49:34 -06:00
David Hall
bbe642b1bc MCOL-1793 UDAnF: Reset fValOut so if the function returns without value, NULL is the result. 2018-11-28 10:59:08 -06:00
David Hall
c3477fe243 Merge branch 'develop' into MCOL-1793 2018-11-23 12:43:17 -06:00
David Hall
176ef2f2c1 MCOL-1793 Add udafContext to the copy constructor of WindowFunctionColumn. 2018-11-23 12:42:29 -06:00
Andrew Hutchings
1834b64de8 Merge branch 'develop-1.1' into 1.1-merge-up-2018-11-23 2018-11-23 11:45:17 +00:00
David Hall
3709fe92a5 Merge branch 'develop' into MCOL-1793 2018-11-20 16:30:22 -06:00
David Hall
9c1bc910a5 MCOL-1793, fix REGR_SLOPE calculations, change scale to DECIMAL_NOT_SPECIFIED (variable length) for most REGR_*** functions. 2018-11-20 16:29:17 -06:00
David Hill
8b6a6c9fca MCOL-1953 - removed unneeded 'done' 2018-11-20 13:41:07 -06:00
Andrew Hutchings
b1d5f54abe MCOL-1868 Fix error in unused code
There was a a bad line in some code that we don't currently compile. This
patch fixes that code in case we use it in the future.
2018-11-14 14:29:58 +00:00
Andrew Hutchings
ccca4e1347 MCOL-1885 Fix libmysql error handling
If an error occurs in mysql_real_query() it fell through and tried to
get a result set anyway. This caused the MariaDB error message to be
forgotten and a generic one returned instead.

This fix returns the query error message and also uses the int error
code for generic errors instead of casting it to an unsigned int.
2018-11-13 17:22:36 +00:00
Andrew Hutchings
85121060fb Merge branch 'develop-1.1' into 1.1-merge-up-2018-11-08 2018-11-08 18:39:44 +00:00
David Hill
d1a4ede32f MCOL-520 - fix buildbot startup issue 2018-11-07 14:51:19 -06:00
David Hill
da3d78de43 change to get tmp from config 2018-11-07 12:49:51 -06:00
Patrick LeBlanc
8dc988d849 Merge pull request #607 from mariadb-corporation/MCOL-520
Mcol 520
2018-11-07 10:37:10 -06:00
David Hall
06d1c9fcbe MCOL-1793 Handle transition of Window Frame from outside of Partition to inside part 2 2018-11-06 11:07:49 -06:00
David Hall
df6d97ca04 MCOL-1793 Handle transition of Window Frame from outside of Partition to inside 2018-11-06 10:48:37 -06:00
David Hall
1426b4d99b MCOL-1793-regr_* functions get wrong answer. Pretty up some code. 2018-11-06 10:30:38 -06:00