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

1621 Commits

Author SHA1 Message Date
96dfb4c294 Merge pull request #46 from mariadb-corporation/MCOL-278
Warning on drop table if exists error
2016-10-31 11:53:55 -05:00
c975f00973 Throw warning when table doesn't exist in columnstore so drop table if exists can still remove the front end table. 2016-10-28 15:37:38 -05:00
0368dd487a MCOL-153 Add UDF function calgetsqlcount() which will display the number of sql statements active and the number waiting. 2016-10-27 15:49:01 -05:00
6694bc3d16 Merge pull request #44 from mariadb-corporation/MCOL-344
Add better cache explanations to debug_walk. This is debug only.
2016-10-27 15:42:00 -05:00
331dfd3a4c Add better cache explanations to debug_walk. This is debug only. 2016-10-27 15:39:50 -05:00
32c76825de Merge pull request #43 from mariadb-corporation/MCOL-218
Mcol 218
2016-10-27 20:21:19 +01:00
8f2fca2239 Merge pull request #41 from mariadb-corporation/MCOL-350
MCOL-350 Fix zero date comparison
2016-10-27 10:06:10 -05:00
b1a110b830 MCOL-121 client reports "stage 2 - enabling keys" for every query against a CS table.
Add progress_report_time=0 to default my.cnf to disable progress reports
2016-10-24 17:30:05 -05:00
fc4cb7ab71 Clean up unneeded objects created in fix. 2016-10-24 11:44:07 -05:00
877dc201bd MCOL-371 fix mutex free crash
It is possible for an exception to be thrown when a memory limit is hit
whilst a mutex is lock. That mutex is never unlocked and in Ubuntu 16.04
release build it can cause a crash when freed.

This patch catches the exception, releases the lock and then re-throws.
2016-10-23 16:12:38 +01:00
87ac01c3d4 MCOL-218: Make drop database work in the columnstore engine. 2016-10-19 15:23:02 -05:00
08d52d510e MCOL-350 Fix zero date comparison
If a query uses '0000-00-00' the value to compare with is hard-coded to
0. With date types there are 6 unused bits set to 1 so a zero date is
stored as 3F 00 00 00.

This removes the hard-coded setting of '0000-00-00' to 0 and uses the
correct conversion routines instead.
2016-10-19 19:38:53 +01:00
7c9e6e84c2 remove debug cout in ddl.l 2016-10-17 13:03:23 -05:00
e4f93ea2f2 MCOL-46 subquery sometimes causes unknown error
This was caused by Item_cache::val_str() sometimes causing a full exec of subquery before we're ready
2016-10-12 13:30:35 -05:00
ed3bc28171 added copyright headers 2016-10-11 10:02:01 -05:00
897d8d3f3d change snmp to alarm 2016-10-10 17:46:24 -05:00
d50721d65a MCOL-343 Change references to String::ptr() into String::c_ptr() 2016-10-03 15:54:55 -05:00
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
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
650dba47fc Fix build issues
Fix jemalloc issues and a namespace issue
2016-09-23 17:28:41 -05: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
f20345f798 MCOL-290 - Fix spurious typo 2016-09-23 09:18:28 -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
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
7d3cd26af9 MCOL-160 MCOL-262 CMake Build Fixes for out-of-tree builds and engine RPMS 2016-09-22 10:14:18 -04:00
1e277575f9 Remove extraneous debug log lines 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
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
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
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
23cf2e3edc Remove #define SKIP_AUTOI. This is no longer used 2016-09-06 12:04:28 -05:00
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
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
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
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
09276ff885 Comment debug lines. Change a debug line to be more useful. 2016-09-01 13:01:33 -05:00
6714290b6d MCOL-279 Dbrm.releaseAILock() being call twice in a row 2016-09-01 13:01:33 -05:00
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
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
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
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
0d2f496389 MCOL-05 Modify the DDL parser to not use (even more) global variables. 2016-08-16 18:25:09 -05:00
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
468a971517 name change 2016-08-15 13:39:00 -05:00
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
6fa865d8de Merge branch 'develop' of https://github.com/mariadb-corporation/mariadb-columnstore-engine into develop 2016-08-11 15:35:41 -05:00
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
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
8bc7e46905 MCOL-5 Don't send empty strings in cpimport command line. It confuses cpimport. 2016-08-09 11:35:45 -05:00