Ben Thompson
d0e9cde782
MCOL-98: Added error message for functions returning out of range values.
2016-10-10 16:52:47 -05: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
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
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
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
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
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
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
Ben Thompson
12516d93a7
MCOL-331: Fix position range check
2016-09-29 14:41:53 -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
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
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
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
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
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
76b4f3dd95
MCOL-176 Stop the arethmetic underflow
2016-09-22 09:30:20 -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
Andrew Hutchings
1fdb5f567b
Fix casting issue for date truncation
...
Boost::any is used for the value so it needs to be casted to a type
2016-09-15 19:48:15 +01:00
dhall-InfiniDB
81ea155b06
Merge pull request #10 from LinuxJedi/date_fix
...
MCOL-298 Fix saturated date/datetime handling
2016-09-14 17:14:48 -05:00
David Hall
d1603696eb
MCOl-297 CHARACTER_LENGTH(datetime) returns wrong length
2016-09-14 17:10:57 -05:00
Andrew Hutchings
d551b7d6e0
MCOL-298 Fix saturated date/datetime handling
...
Saturated DML updates would be set to NULL as were saturated cpimport
values. This sets them to the zero date/datetime value.
2016-09-14 19:58:11 +01:00
Andrew Hutchings
ef405480ab
Remove boost_idb
...
It is completely unused
2016-09-13 17:57:49 +01:00
Andrew Hutchings
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
Andrew Hutchings
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
David Hall
7e0723a8bc
MCOL-259 replace system call to columnstore status with a function call to alleviate a race condition. Also added exception logging in a few places that will be helpful.
2016-09-02 09:30:53 -05:00
dhall-InfiniDB
1a7883f98b
Merge pull request #4 from LinuxJedi/MCOL-274
...
Make date handling more in-line with MySQL
2016-09-02 09:15:00 -05:00
Andrew Hutchings
25851df89d
Add support for zero date separate to NULL
...
NULL is now pushed through the MariaDB storage engine plugin down to the
insert processing. A '0000-00-00' date is now a separate value to NULL.
This is more in-line with MariaDB's handling.
2016-08-30 16:26:36 +01:00
Andrew Hutchings
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
david hill
53abd78979
name changes for non-root
2016-08-16 13:38:45 -05:00
david hill
468a971517
name change
2016-08-15 13:39:00 -05:00
Ben Thompson
b43e086ef3
cmake fixes for generated files errorids.h and messageids.h
2016-08-15 11:13:38 -05:00
Ben Thompson
392d6df495
Merge branch 'mcol-159' into develop
...
Conflicts:
1
Makefile.save
autom4te.cache/output.0
autom4te.cache/traces.0
autom4te.cache/traces.1
compile
config.guess
config.sub
configure.save
dbcon/Makefile.in
dbcon/ddlpackage/Makefile.in
dbcon/ddlpackage/ddl-scan.cpp
dbcon/ddlpackageproc/Makefile.in
dbcon/dmlpackage/Makefile.in
dbcon/dmlpackage/dml-scan.cpp
dbcon/dmlpackageproc/Makefile.in
dbcon/execplan/Makefile.in
dbcon/joblist/Makefile.in
dbcon/mysql/Makefile.in
ddlproc/Makefile.in
decomsvr/Makefile.in
depcomp
dmlproc/Makefile.in
exemgr/Makefile.in
install-sh
missing
net-snmp/Makefile.in
net-snmp/net-snmp-5.7.3/agent/mibgroup/mib_module_includes.h
net-snmp/net-snmp-5.7.3/configure-summary
net-snmp/net-snmp-5.7.3/dist/generation-scripts/gen-variables
net-snmp/net-snmp-5.7.3/include/net-snmp/agent/mib_module_config.h
net-snmp/net-snmp-5.7.3/mk/MODULE_LIST.mk
net-snmp/net-snmp-5.7.3/mk/mib_module_list_c.mk
net-snmp/net-snmp-5.7.3/mk/mib_module_list_code.mk
net-snmp/net-snmp-5.7.3/mk/mib_module_list_ft.mk
net-snmp/net-snmp-5.7.3/mk/mib_module_list_lo.mk
net-snmp/net-snmp-5.7.3/mk/mib_module_list_o.mk
net-snmp/net-snmp-5.7.3/mk/mibgroup_list_ft.mk
net-snmp/net-snmp-5.7.3/mk/mibgroup_list_lo.mk
net-snmp/net-snmp-5.7.3/mk/mibgroup_list_o.mk
net-snmp/net-snmp-5.7.3/mk/module_list_c.mk
net-snmp/net-snmp-5.7.3/mk/module_list_code.mk
net-snmp/net-snmp-5.7.3/mk/module_list_ft.mk
net-snmp/net-snmp-5.7.3/mk/module_list_lo.mk
net-snmp/net-snmp-5.7.3/mk/module_list_o.mk
oam/Makefile.in
oam/cloud/Makefile.in
oam/etc/Makefile.in
oam/oamcpp/Makefile.in
oam/post/Makefile.in
oamapps/Makefile.in
oamapps/calpontDB/Makefile.in
oamapps/calpontSupport/Makefile.in
oamapps/columnstoreDB/Makefile.in
oamapps/columnstoreSupport/Makefile.in
oamapps/mcsadmin/Makefile.in
oamapps/postConfigure/Makefile.in
oamapps/sendtrap/Makefile.in
oamapps/serverMonitor/Makefile.in
oamapps/sessionWalker/Makefile.in
oamapps/traphandler/Makefile.in
primitives/Makefile.in
primitives/blockcache/Makefile.in
primitives/linux-port/Makefile.in
primitives/primproc/Makefile.in
procmgr/Makefile.in
procmon/Makefile.in
snmpd/Makefile.in
snmpd/etc/Makefile.in
snmpd/snmpmanager/Makefile.in
tools/Makefile.in
tools/clearShm/Makefile.in
tools/cleartablelock/Makefile.in
tools/configMgt/Makefile.in
tools/cplogger/Makefile.in
tools/dbbuilder/Makefile.in
tools/dbloadxml/Makefile.in
tools/ddlcleanup/Makefile.in
tools/editem/Makefile.in
tools/getConfig/Makefile.in
tools/idbmeminfo/Makefile.in
tools/setConfig/Makefile.in
tools/viewtablelock/Makefile.in
utils/Makefile.in
utils/batchloader/Makefile.in
utils/boost_idb/Makefile.in
utils/cacheutils/Makefile.in
utils/common/Makefile.in
utils/compress/Makefile.in
utils/configcpp/Makefile.in
utils/dataconvert/Makefile.in
utils/ddlcleanup/Makefile.in
utils/funcexp/Makefile.in
utils/idbdatafile/Makefile.in
utils/idbhdfs/Makefile.in
utils/idbhdfs/hdfs-12/Makefile.in
utils/idbhdfs/hdfs-20/Makefile.in
utils/jemalloc/Makefile.in
utils/joiner/Makefile.in
utils/loggingcpp/Makefile.in
utils/messageqcpp/Makefile.in
utils/mysqlcl_idb/Makefile.in
utils/querystats/Makefile.in
utils/querytele/Makefile.in
utils/rowgroup/Makefile.in
utils/rwlock/Makefile.in
utils/startup/Makefile.in
utils/threadpool/Makefile.in
utils/thrift/Makefile.in
utils/udfsdk/Makefile.in
utils/windowfunction/Makefile.in
utils/winport/Makefile.in
versioning/BRM/Makefile.in
versioning/Makefile.in
writeengine/Makefile.in
writeengine/bulk/Makefile.in
writeengine/client/Makefile.in
writeengine/dictionary/Makefile.in
writeengine/index/Makefile.in
writeengine/redistribute/Makefile.in
writeengine/server/Makefile.in
writeengine/shared/Makefile.in
writeengine/splitter/Makefile.in
writeengine/wrapper/Makefile.in
2016-08-10 16:24:51 -05:00
Ben Thompson
7766a04de2
Fixes and switch to external boost library
2016-08-10 16:19:27 -05:00
David Hall
fc67e42728
remove generated files
2016-08-05 14:08:25 -05:00
david hill
af051987a6
change the syslogSetup test id number
2016-08-02 08:56:19 -05:00
David Hall
5053716521
MCOL-66 change error text for ERR_TABLE_LOCKED to accept operation name.
2016-07-28 09:25:49 -05:00
Ben Thompson
4709c2bece
Add dependencies on netsnmp build
2016-07-27 16:00:28 -05:00
Ben Thompson
479f3cdd50
Revert back to boost_idb built internal, cleanup cmakelists and add a few more system checks
2016-07-27 10:20:57 -05:00
Ben Thompson
3abaf780d5
Use the internal built boost library for now
2016-07-26 10:11:56 -05:00
Ben Thompson
e1520a2e4b
CMakeLists config changes
2016-07-25 16:14:48 -05:00
david hill
5f16248796
removed utils/Makefile.save
2016-07-21 14:10:34 -05:00
david hill
edb55cf23a
mcol-5 save files
2016-07-19 10:46:58 -05:00
Ben Thompson
f7fc893f03
Broken file after merge
2016-07-15 11:35:27 -05:00