Andrew Hutchings
e3edadc9c9
Merge pull request #37 from mariadb-corporation/MCOL-98
...
MCOL-98
2016-10-11 09:37:14 +00:00
Ben Thompson
e9ae596dab
MCOL-98: Div actually returns Null and does not throw and error. Removed unneeded includes.
2016-10-11 02:20:46 -05:00
david hill
864730ddc5
remove snmp
2016-10-10 17:53:11 -05:00
david hill
897d8d3f3d
change snmp to alarm
2016-10-10 17:46:24 -05:00
david hill
ded569fac9
move snmpmanager to alarmmanager
2016-10-10 17:12:39 -05:00
Ben Thompson
d0e9cde782
MCOL-98: Added error message for functions returning out of range values.
2016-10-10 16:52:47 -05:00
david hill
fb587803a3
remove snmplibs
2016-10-10 16:03:21 -05:00
david hill
c727676d10
remove snmp dep
2016-10-10 15:24:10 -05:00
david hill
ebd3b05c5d
more changes
2016-10-10 14:03:26 -05:00
david hill
edbf5bd781
first changes for mcol-251
2016-10-10 12:58:47 -05:00
benthompson15
b852900db3
Merge pull request #35 from mariadb-corporation/fix-snmptrapd
...
Fix snmptrad
2016-10-10 09:08:22 -05:00
Andrew Hutchings
b894d22cbf
Merge pull request #36 from mariadb-corporation/coding_standards
...
Add contributing documents from the server tree
2016-10-08 13:25:29 -05:00
Andrew Hutchings
e5930299b3
Add contributing documents from the server tree
...
GitHub actually recommends reading them when opening pull requests so it
is good to have them in this tree too.
2016-10-08 20:23:51 +02:00
david hill
6e1f3d1dcb
mcol-336
2016-10-05 08:39:32 -05:00
Andrew Hutchings
09723665a5
Fix snmptrad
...
The net-snmp that was removed also contained snmptrapd which is used by
ColumnStore. This fix makes sure the OS version is executed instead.
In addition it makes sure net-tools is installed as the 'netstat'
command is required by postConfigure
2016-10-05 09:37:04 +01:00
dhall-InfiniDB
23b195a438
Merge pull request #34 from mariadb-corporation/MCOL-347
...
MCOL-347 Fix NULLIF() for DATETIME with DATE
2016-10-04 15:23:06 -05:00
David Hill
cf3624f028
merge mcol-262 branch
2016-10-04 19:21:58 +00:00
dhall-InfiniDB
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
dhall-InfiniDB
d857a0ffe6
Merge pull request #33 from mariadb-corporation/MCOL-289
...
MCOL-289 Fix MCOL(0) handling
2016-10-04 12:41:38 -05:00
David Hill
3422991bb6
mcol-262 - change to remove checking for platform rpm
2016-10-04 17:08:39 +00:00
Andrew Hutchings
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
Andrew Hutchings
6d8a177bd1
Fix Boost dep for CentOS 6
...
Our install instructions use a source build of Boost for CentOS 6, so
our packages need to be adjusted to allow for this.
2016-10-04 15:41:09 +01:00
Andrew Hutchings
a528d2cec8
Merge pull request #32 from mariadb-corporation/MCOL-343
...
MCOL-343 Change references to String::ptr() into String::c_ptr()
2016-10-03 16:32:29 -05:00
Andrew Hutchings
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
David Hall
d50721d65a
MCOL-343 Change references to String::ptr() into String::c_ptr()
2016-10-03 15:54:55 -05:00
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