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

1706 Commits

Author SHA1 Message Date
david hill
897d8d3f3d change snmp to alarm 2016-10-10 17:46:24 -05: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
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
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
650dba47fc Fix build issues
Fix jemalloc issues and a namespace issue
2016-09-23 17:28:41 -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
3d91ac193c Merge branch 'develop' of git://github.com/mariadb-corporation/mariadb-columnstore-engine into MCOL-97 2016-09-22 18:50:59 -05: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
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 Hall
1e277575f9 Remove extraneous debug log lines 2016-09-14 17:10:57 -05: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
b5d4e02b21 MCOL-173 Fix null handling for bulk inserts
When infinidb_use_import_for_batchinsert is enabled the NULL handling
for the batch insert was incorrect. This is due to an off-by-one on the
NULL bitmap. This also affects INSERT...SELECT.
2016-09-09 16:09:47 +01:00
Andrew Hutchings
6c7a34c5fb MCOL-240 Fix NULL handling on empty Having clause
During subquery processing it is possible to have an empty Having
clause. When this happens various tree elements are deleted but the
pointers to those tree elements are not set to NULL. So later on in
processing ExeMgr can crash.
2016-09-08 19:45:40 +01:00
David Hall
8364c9da52 MCOL-281 LDI using cpimport pads char column values with spaces
Use new logic to find actual data length
2016-09-07 12:13:22 -05:00
David Hall
23cf2e3edc Remove #define SKIP_AUTOI. This is no longer used 2016-09-06 12:04:28 -05:00
dhall-InfiniDB
75ecb950f9 Merge pull request #2 from LinuxJedi/MCOL-264
Fix DDL parser for spaces in table options
2016-09-02 09:15:11 -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
dhall-InfiniDB
7e8262e0d2 Merge pull request #5 from LinuxJedi/MCOL-171
Add support for zero date separate to NULL
2016-09-02 09:14:48 -05:00
David Hall
d9de4cfde0 MCOL-279 Debuging 279 revealed a weakness in processing when front end ond backend were out of sync. It could cause a mysqld crash. Added error code to check and report, rather than crash. 2016-09-01 13:01:33 -05:00
David Hall
09276ff885 Comment debug lines. Change a debug line to be more useful. 2016-09-01 13:01:33 -05:00
David Hall
6714290b6d MCOL-279 Dbrm.releaseAILock() being call twice in a row 2016-09-01 13:01:33 -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 Hall
482047679a MCOL-259 add some retry logic to the OAMCache system. Add that degraded is still valid for a PM. 2016-08-23 16:51:16 -05:00
Andrew Hutchings
6ef0880ad0 Fix DDL compile error
The code generated by bison wouldn't compile due to the compiler finding namespace ambiguity.
2016-08-17 14:06:13 +01:00
David Hall
0d2f496389 MCOL-05 Modify the DDL parser to not use (even more) global variables. 2016-08-16 18:25:09 -05:00
Andrew Hutchings
acb078d07d Fix DDL parser for spaces in table options
MariaDB's parser allows for spaces instead of equals in table options, ColumnStore's parser currently does not allow this causing a query such as the following to fail:

CREATE TABLE t1 (a int, b int) ENGINE COLUMNSTORE;

This fix allows the spaces.
2016-08-16 14:19:49 +01:00
david hill
468a971517 name change 2016-08-15 13:39:00 -05:00
David Hall
10e5ed83ce MCOL-5 We've had problems with CREATE and DELETE crashing. Add some better error handling 2016-08-12 16:57:51 -05:00
David Hall
6fa865d8de Merge branch 'develop' of https://github.com/mariadb-corporation/mariadb-columnstore-engine into develop 2016-08-11 15:35:41 -05:00
David Hall
b9bbb67549 MCOL-259. Reload the Columnstore.xml if ERR_DATA_OFFLINE would be thrown. If still broke, throw anyway. 2016-08-11 15:35:19 -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
David Hall
8bc7e46905 MCOL-5 Don't send empty strings in cpimport command line. It confuses cpimport. 2016-08-09 11:35:45 -05:00
David Hall
b57af447a4 MCOL-5 Correct the issue of double-unlocking the mutex. It was supposed to be a lock, not unlock 2016-08-08 16:36:53 -05:00
David Hall
8de8666046 MCOL-5 fill the vector before taking the addresses of the strings. 2016-08-08 16:36:01 -05:00
David Hall
7598e8bc75 MCOL-5 Building the cpimport command line for LDI relied on the addresses of the contents of a std:vector being static during re-allocation. This is an erroneous assumption. Recoded to build the vector completely, then use it. 2016-08-05 14:09:19 -05:00
David Hall
020c0ed3f5 MCOL-140 Add a mechanism to serialize transactions for a single table to prevent VSS clashes. Transactions for different tables will continue concurrently. 2016-07-28 09:25:49 -05:00
Ben Thompson
4709c2bece Add dependencies on netsnmp build 2016-07-27 16:00:28 -05:00
david hill
539e524ad4 name change from InfiniDB in comments 2016-07-26 09:24:46 -05:00
david hill
6527f191e1 merged mcol-5 2016-07-21 09:00:25 -05:00
David Hall
6d11ce030d MCOL-66 - Make the DDL and DML parsers re-entrant.
Serialize all DDL because the VVS can't handle modifying the same block simultaneously
Fix the CTRL+C logic in DML that caused COMMIT issues.
2016-07-20 11:47:51 -05:00
Ben Thompson
fe1a4c659e Fix libcalmysql 2016-07-19 12:40:51 -05:00
david hill
edb55cf23a mcol-5 save files 2016-07-19 10:46:58 -05:00
Ben Thompson
72ac8c5e90 CMake fixes for executable install and libclamysql 2016-07-15 16:23:26 -05:00
Ben Thompson
ba2a66f589 More cmakefile fixes 2016-07-15 15:07:35 -05:00
Ben Thompson
b7124b91b3 Merge branch
Conflicts:
	dbcon/dmlpackageproc/CMakeLists.txt
	oamapps/CMakeLists.txt
	utils/cacheutils/CMakeLists.txt
	utils/common/CMakeLists.txt
	utils/compress/CMakeLists.txt
	utils/dataconvert/CMakeLists.txt
	utils/idbdatafile/CMakeLists.txt
	utils/mysqlcl_idb/CMakeLists.txt
2016-07-15 11:31:46 -05:00
Ben Thompson
96a0526ac5 add commented out lines from cmakelists files 2016-07-15 11:23:26 -05:00
Ben Thompson
934920d73e Changes to how source generating scripts are called from cmakelists 2016-07-15 10:49:57 -05:00