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

6198 Commits

Author SHA1 Message Date
Andrew Hutchings
0da005ddae MCOL-328 Fix func float -> str conversion
Functions such as reverse() that do float/double to string conversion
use printf's %g to do it. Unfortunately this adds a '+' symbol before
the exponent symbol. MariaDB doesn't do this.

This patch builds the string in a way that does not have that problem,
it resembles the way it is done elsewhere in the codebase.
2016-10-03 21:03:07 +01:00
dhall-InfiniDB
a966fa3382 Merge pull request #29 from mariadb-corporation/MCOL-326
MCOL-326 Fix negative rand seeding
2016-10-03 10:31:44 -05:00
dhall-InfiniDB
30e9842508 Merge pull request #28 from mariadb-corporation/MCOL-341
MCOL-341 Fix DATETIME2 support in INSERT...SELECT
2016-10-03 10:28:01 -05:00
Andrew Hutchings
256c87c6f9 MCOL-326 Fix negative rand seeding
Needs to be using 32bit ints to fully behave like MariaDB
2016-10-03 16:09:11 +01:00
Andrew Hutchings
5fad418309 MCOL-341 Fix DATETIME2 support in INSERT...SELECT
DATETIME2 has a variable pack length but we were using a constant length
of 8 if the value was NULL. This messed up the offset for the next
column.
2016-10-03 15:51:47 +01:00
dhall-InfiniDB
2279c03f4b Merge pull request #27 from mariadb-corporation/MCOL-333
MCOL-333 Fix subtime() for saturated values
2016-09-30 11:40:35 -05:00
benthompson15
8b28b75384 Merge pull request #26 from mariadb-corporation/fix_cpack
Fix ignore paths for CPack so there are no conflicts
2016-09-30 11:07:33 -05:00
Andrew Hutchings
bc6298c92f MCOL-333 Fix subtime() for saturated values
In MariaDB (unlike MySQL) max/min time values include msec of 999999.
This means that subtime() with saturated values can be off by one
second.

For this calculation I have modified add_time (which also does
subtime()) to have a saturated value including 999999 msec. This fixes
the subtime test in the regression suite.
2016-09-30 14:47:54 +01:00
Andrew Hutchings
0d5f721d96 Fix ignore paths for CPack so there are no conflicts
Using CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION doesn't work with
manual file lists
2016-09-30 08:12:29 +01:00
David Hall
e6165f7f7f Remove generated files from repository 2016-09-29 15:54:44 -05:00
David Hall
299c145858 MCOL-137 dbroot offline error. Fix logic for non-root user 2016-09-29 15:53:38 -05:00
Andrew Hutchings
b35cfc3352 Merge pull request #25 from mariadb-corporation/MCOL-331
MCOL-331: Fix position range check
2016-09-29 15:16:01 -05:00
Ben Thompson
12516d93a7 MCOL-331: Fix position range check 2016-09-29 14:41:53 -05:00
dhall-InfiniDB
75b8f0602b Merge pull request #24 from mariadb-corporation/MCOL-330
MCOL-330 Fix datetime to int conversion
2016-09-29 13:37:50 -05:00
Andrew Hutchings
52c0f79fcf MCOL-330 Fix datetime to int conversion
Datetime has internal int value which is very different to MySQL's int
value. This patch differentiates between the two and also fixes a column
width issue which appeared once the datetime handling was fixed.
2016-09-29 17:27:52 +01:00
Andrew Hutchings
92ec84b5ae Merge pull request #23 from mariadb-corporation/MCOL-302
MCOL-302: Changes for handling rpm upgrade issues
2016-09-28 13:19:37 -05:00
Ben Thompson
f2670dad2a MCOL-302: Changes for handling rpm upgrade issues 2016-09-28 10:59:33 -05:00
dhall-InfiniDB
964ad342e7 Merge pull request #22 from mariadb-corporation/MCOL-332
MCOL-332 Fix MONTHNAME() cast to double
2016-09-27 14:42:20 -05:00
dhall-InfiniDB
7482b544c0 Merge pull request #21 from mariadb-corporation/MCOL-329
MCOL-329
2016-09-27 14:37:51 -05:00
Andrew Hutchings
35fab05207 MCOL-332 Fix MONTHNAME() cast to double
Should return 0 to match MariaDB
2016-09-27 18:23:22 +01:00
Andrew Hutchings
54fcfb20c5 Fix decimal to date/datetime casting 2016-09-27 17:31:05 +01:00
Andrew Hutchings
55844a0f0b Fix makedate() and year() functions
* The year() function did not handle float/double input correctly
* Makedate() did not handle year < 100 conversion
* 0 date was converted to NULL for some functions

In addition makedate did
2016-09-27 16:11:31 +01:00
dhall-InfiniDB
7ef1cabdf2 Merge pull request #20 from mariadb-corporation/MCOL-325
MCOL-325 Fix WEEK() and YEARWEEK()
2016-09-27 09:47:54 -05:00
Andrew Hutchings
5f70568d5c MCOL-325 Fix WEEK() and YEARWEEK()
The flags mask logic for the week function was incorrect. This patch
fixes it so that the behaviour is the same as MariaDB's
2016-09-27 14:32:26 +01:00
benthompson15
03ce5a4936 Merge pull request #18 from mariadb-corporation/MCOL-294
Mcol 294
2016-09-26 10:35:36 -05:00
benthompson15
7fbe1b5c2b Merge pull request #19 from mariadb-corporation/MCOL-308
MCOL-308 Make RPMs require OS net-snmp
2016-09-26 10:20:14 -05:00
Andrew Ernst
5529896800 Fixes what is likely a misspelling on the mcsadmin> prompt
Instead of mscadmin> this changes the prompt to mcsadmin>
2016-09-23 18:59:16 -05:00
Andrew Hutchings
20e9ec1248 Merge pull request #17 from ernstae/master
Fixes what is likely a misspelling on the mcsadmin> prompt
2016-09-23 18:56:14 -05:00
Andrew Hutchings
047a38879b MCOL-308 Make RPMs require OS net-snmp 2016-09-23 18:46:00 -05:00
Andrew Hutchings
650dba47fc Fix build issues
Fix jemalloc issues and a namespace issue
2016-09-23 17:28:41 -05:00
Andrew Ernst
e6dba743b0 Fixes what is likely a misspelling on the mcsadmin> prompt
Instead of mscadmin> this changes the prompt to mcsadmin>
2016-09-23 09:13:10 -07:00
Andrew Hutchings
9915ed31f9 MCOL-294 Use OS jemalloc
Use the OS jemalloc if found, standard malloc if not
2016-09-23 11:11:00 -05:00
benthompson15
399d680375 Merge pull request #16 from LinuxJedi/MCOL-97
MCOL-97
2016-09-23 09:33:14 -05:00
Andrew Hutchings
e6925c8cf7 Merge pull request #13 from mariadb-corporation/MCOL-290
Mcol 290
2016-09-23 09:24:13 -05:00
David Hall
f20345f798 MCOL-290 - Fix spurious typo 2016-09-23 09:18:28 -05:00
Andrew Hutchings
a34937fadb Fix install issue 2016-09-22 19:43:34 -05:00
Andrew Hutchings
bf399da39c Fix net-snmp install 2016-09-22 19:27:12 -05:00
Andrew Hutchings
3d91ac193c Merge branch 'develop' of git://github.com/mariadb-corporation/mariadb-columnstore-engine into MCOL-97 2016-09-22 18:50:59 -05:00
Andrew Hutchings
3de43bcdd5 Merge pull request #14 from mariadb-corporation/cmakeFixes
MCOL-160 MCOL-262 CMake Build Fixes for out-of-tree builds and engin…
2016-09-22 18:25:09 -05:00
Ben Thompson
94cc3c1f5b Add udf_mysql and udfsdk to RPM 2016-09-22 11:49:22 -04:00
David Hall
afab801b5f MCOL-299 Change the getStrVal() for float and double to match the results of the mariadb display string for same. 2016-09-22 09:34:13 -05:00
David Hall
e48ef0063a MCOL-290 Use the proper enum to check for state 2016-09-22 09:31:12 -05:00
David Hall
76b4f3dd95 MCOL-176 Stop the arethmetic underflow 2016-09-22 09:30:20 -05:00
benthompson15
d50eb94eb3 Merge pull request #12 from LinuxJedi/MCOL-303
MCOL-303
2016-09-22 09:22:10 -05:00
Ben Thompson
7d3cd26af9 MCOL-160 MCOL-262 CMake Build Fixes for out-of-tree builds and engine RPMS 2016-09-22 10:14:18 -04:00
David Hill
1cb95cee72 bump release 2016-09-20 22:34:12 +00:00
David Hill
f81d271b0f merge develop branch 2016-09-20 22:33:07 +00:00
Andrew Hutchings
d6366d9ee5 Make the CMAKE_BUILD_TYPE work with user setting 2016-09-20 16:13:29 -05:00
Andrew Hutchings
b2f380a4f3 MCOL-303 fix performance issue
Between 1.0.1 and 1.0.2 there were chnages to the build system which
allow for different build options with CMake. Unfortunately the default
was not set correctly so the default build was not optimised.

This change allows for the default build to be optimised again.
2016-09-20 15:36:22 -05:00
Andrew Hutchings
7bf6e55a58 Jemalloc missing from .spec file columnstore-1.0.3 2016-09-19 10:11:47 -05:00