84d4ccfdd2
Merge pull request #31 from mariadb-corporation/MCOL-328-mk2
...
MCOL-328 Fix func float -> str conversion
2016-10-04 12:43:08 -05:00
0d292e2b78
MCOL-347 Fix NULLIF() for DATETIME with DATE
...
Comparing DATETIME with DATE compared two different date int formats
2016-10-04 17:23:10 +01:00
9606375939
MCOL-289 Fix MCOL(0) handling
...
Now throws an error instead of returning NULL to align with MariaDB
2016-10-03 22:27:30 +01:00
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
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
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
12516d93a7
MCOL-331: Fix position range check
2016-09-29 14:41:53 -05:00
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
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
7482b544c0
Merge pull request #21 from mariadb-corporation/MCOL-329
...
MCOL-329
2016-09-27 14:37:51 -05:00
35fab05207
MCOL-332 Fix MONTHNAME() cast to double
...
Should return 0 to match MariaDB
2016-09-27 18:23:22 +01:00
54fcfb20c5
Fix decimal to date/datetime casting
2016-09-27 17:31:05 +01:00
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
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
399d680375
Merge pull request #16 from LinuxJedi/MCOL-97
...
MCOL-97
2016-09-23 09:33:14 -05:00
e6925c8cf7
Merge pull request #13 from mariadb-corporation/MCOL-290
...
Mcol 290
2016-09-23 09:24:13 -05:00
3d91ac193c
Merge branch 'develop' of git://github.com/mariadb-corporation/mariadb-columnstore-engine into MCOL-97
2016-09-22 18:50:59 -05:00
76b4f3dd95
MCOL-176 Stop the arethmetic underflow
2016-09-22 09:30:20 -05:00
7d3cd26af9
MCOL-160 MCOL-262 CMake Build Fixes for out-of-tree builds and engine RPMS
2016-09-22 10:14:18 -04:00
d1603696eb
MCOl-297 CHARACTER_LENGTH(datetime) returns wrong length
2016-09-14 17:10:57 -05:00
b954001fba
Remove net-snmp and use the OS version
...
Also remove a few old binaries from build/
2016-09-13 17:42:57 +01:00
21a081678d
MCOL-283 Fix mysql_calc_week
...
The value of a NULL pointer could potentionally be accessed
2016-09-05 21:49:38 +01:00
0bea3e4ab1
Make date handling more in-line with MySQL
...
Date limit of year 1400 was used due to Boost's limits.
This patch strips out the use of Boost for date handling and sets the
lower limit to year 1000.
2016-08-30 11:25:16 +01:00
4709c2bece
Add dependencies on netsnmp build
2016-07-27 16:00:28 -05:00
424628349b
Add CMake build tree files
2016-07-15 10:49:57 -05:00
d90af9496e
Remove Makefile.in and update gitignore
2016-07-15 10:49:57 -05:00
31b6660cd4
MCOL-80 EXTRACT() function returned assertion error. Added code similar to mariadb code for all the INTERVAL_XXX_MICROSECOND intervals.
...
There is still an issue with a wrong answer for INTERVAL_MINUTE_MICROSECOND.
2016-06-28 17:15:11 -05:00
7d8de28b43
MCOL-59, change calpont.xml
2016-06-22 16:00:00 -05:00
22b7b3d1ef
[MCOL-69] - autotools bootstrap only needed on new release version
2016-06-15 04:46:10 -04:00
b1b60065d9
build fails with boost linking errors
2016-06-03 13:55:09 +03:00
16b1264557
Merge pull request #3 from mariadb-corporation/master
...
merge upstream
2016-06-01 23:13:42 -04:00
e9d96ddc85
copyright additions
2016-06-01 20:03:20 -05:00
5827cd5c47
merge upstream
2016-06-01 19:59:03 -04:00
3a6d4c3fd2
Revert "copyright name change"
...
This reverts commit 7000f6e4f2
.
2016-06-01 17:54:28 -05:00
be45f0a40f
merge
2016-06-01 17:30:57 -04:00
7000f6e4f2
copyright name change
2016-06-01 14:54:11 -05:00
eff8f39801
MCOL-3 directory name changes
2016-05-31 16:40:30 -05:00
185d1a780c
[MCOL-69] Remove Makefile.in files (should be generated with autoreconf)
2016-05-30 07:48:12 -04:00
25093d4dd0
[MCOL-69] Fix autotools build process
...
Remove generated Makefiles
Update Makefile.am to specify RPATH as a subdirectory of --prefix
Remove configure artifacts such as config.log, config.h, etc
Remove unneeded backup files (files ending in tilde ~)
2016-05-30 07:41:56 -04:00
8ad31a0ef2
MCOL-79 NULLIF() function returns incorrect values
2016-05-24 14:43:15 -05:00
0a2e7f8cd0
MCOL-23 Fix from_unixtime and nullif
2016-05-19 17:49:23 -05:00
a02049ba6a
name changes
2016-05-11 16:24:17 -05:00
7f1cb2be07
Fix from_unixtime when used with numeric operator
2016-05-06 13:47:26 -05:00
e36d78cfc0
add back in windows project files
2016-01-13 15:52:33 -06:00
f6afc42dd0
the begginning
2016-01-06 14:08:59 -06:00