Patrick LeBlanc
c4c77ebd8a
MCOL-3251
...
Moved the new logic into we_fileop to maintain existing encapsulation.
2020-03-13 16:02:08 -04:00
Patrick LeBlanc
00f8acecd5
Merge pull request #772 from drrtuy/MCOL-537_3
...
MCOL-537 Regression test doesn't tolerate 'failed' in stderr, stdout.
Conflicts:
dbcon/ddlpackage/CMakeLists.txt
dbcon/dmlpackage/CMakeLists.txt
dbcon/mysql/ha_calpont_impl.cpp
dbcon/mysql/ha_pseudocolumn.cpp
2020-02-20 15:10:52 -05:00
Jose Rojas
c924b9d647
Merge pull request #1044 from pleblanc1976/2020-2-1.4-final2
...
Merge pull request #1015 from pleblanc1976/mcol-3716
2020-02-20 14:11:54 -05:00
David.Hall
914f6ea0fc
Merge pull request #948 from LinuxJedi/fix-code-errors
...
MCOL-3621 Fix a few cppcheck issues
Conflicts:
dbcon/execplan/calpontsystemcatalog.h
storage-manager/src/SMLogging.cpp
utils/dataconvert/dataconvert.cpp
utils/dataconvert/dataconvert.h
writeengine/bulk/we_colbuf.cpp
2020-02-19 18:00:57 -05:00
Patrick LeBlanc
5ec2156178
Mass 'Corporaton' -> 'Corporation' substitution in 1.2.
2020-02-10 10:55:43 -05:00
Ubuntu
b18f7f2372
MCOL-3605 Fix Block Filling
2019-11-08 15:20:01 +00:00
Ubuntu
306b63d4ac
MCOL-2276 Fix
2019-10-31 20:41:44 +00:00
Andrew Hutchings
6bee5f9f61
MCOL-3395 Always clear dctnry cache on close
...
The dictionary cache needs to be cleared every time it is closed so that
on bulk insert we don't mix the cache between columns.
2019-07-03 08:46:43 +01:00
Andrew Hutchings
cddb776bd4
Merge branch 'develop-1.1' into develop-1.2-merge-up-20190619
2019-06-19 18:34:43 +01:00
Andrew Hutchings
e3cd205388
MCOL-1968 Fix UTF char/varchar min/max handling
...
If the first byte of a char/varchar was > 0x80 then it will break the
min/max values for an extent during cpimport. This patch makes the
min/max compare unsigned and only switches to signed when storing.
In addition send all the LDI / INSERT...SELECT data to cpimport, not
truncated. Let cpimport figure out the truncation point.
2019-06-11 10:37:04 +01:00
Patrick LeBlanc
0dd33c6f75
Merge pull request #751 from drrtuy/mcol-537-compiler-warnings
...
MCOL-537 Address existing compiler warnings.
2019-05-10 09:27:18 -05:00
Roman Nozdrin
3c89a4bba4
MCOL-537 Preprocessor if blocks with pragmas now have else branch.
...
DMLProc exits on setupCwd failure.
2019-05-09 20:25:21 +03:00
Andrew Hutchings
067b1bd3d0
Merge pull request #752 from mariadb-corporation/MCOL-1495
...
MCOL-1495 DML operations created two fCatalogMap entries per session.
2019-05-09 09:44:05 +01:00
Roman Nozdrin
b2436502cb
MCOL-537 Enabled -Wno-unused-result for OAM code.
...
Fixed pragmas that disables compilation checks.
DDLProc now returns an error if it couldn't cwd.
Use either auto_ptr or unique_ptr depending on GCC version.
2019-05-08 19:44:01 +03:00
Roman Nozdrin
7e2cb05624
MCOL-537 There are no CS-specific warnings building with gcc 8.2.
2019-05-07 16:00:05 +03:00
gscteam
b2bf6dece5
missing semicol
2019-05-01 13:38:02 -05:00
Patrice Linel
9e7d852804
unneeded k for loop
2019-05-01 10:29:57 -05:00
Roman Nozdrin
a8adef8820
MCOL-1495 DML operations created two fCatalogMap entries per session.
...
These entries were never deleted so WE leaks about 7MB per 100 DML
sessions. I add purge operations in the very end of four functions
involved in DML.
2019-05-01 18:03:32 +03:00
Roman Nozdrin
9dc33c4e82
Another try to cope with warnings under gcc 8.2.
2019-04-29 11:05:03 +03:00
Patrick LeBlanc
cbbf267e88
MCOL-537, cleanup compiler warnings. Checkpointing a bunch of fixes.
...
Work in progress...
2019-04-29 10:56:48 +03:00
Patrice Linel
06f24df724
change signature array in a std::set ! lookup performance is now log(N). About 10x performance can be expected on cpimport containing varchars.
...
Signed-off-by: Patrice Linel <plinel@mendel-master2.cm.cluster >
2019-04-18 09:16:00 -04:00
Andrew Hutchings
d4a5c2823b
Merge branch 'develop-1.1' into develop-1.2-merge-up-20190214
2019-02-14 15:55:15 +00:00
Andrew Hutchings
159df155a7
Merge branch 'develop-1.0' into develop-1.1-merge-up-20190214
2019-02-14 14:15:07 +00:00
Andrew Hutchings
f805478eb9
MCOL-2149 Fix cpimport decimal saturation
...
If we saturate int64_t during string -> decimal conversion then end
processing there instead of continuing. This preserves a good saturation
value.
2019-02-08 17:55:50 +00:00
Andrew Hutchings
ab74bec10b
Merge branch 'develop-1.1' into 1.2-merge-up-20190111
2019-01-11 20:16:38 +00:00
Andrew Hutchings
8f5fb1a71e
Merge branch 'develop-1.0' into 1.1-merge-up-20190111
2019-01-11 18:44:15 +00:00
Patrick LeBlanc
fe94776ac6
MCOL-2062: bug parsing scientific notation in cpimport
...
Made it use strtold instead of the 'manual' string parsing
stuff it was doing.
2019-01-09 16:31:38 -06:00
Andrew Hutchings
82bd9e29f5
Merge branch 'develop-1.1' into 1.1-merge-up-2018-12-20b
2018-12-20 20:55:00 +00:00
Andrew Hutchings
9888f88ac5
MCOL-1662 Use version buffer for UPDATEs
...
For some reason version buffer is not turned up for update queries which
means that the version number for dictionary blocks is not changed.
This can lead to dirty cache reads resulting in _CpNoTf_ in the results.
This patch turns on version buffer for updates.
2018-12-17 09:08:30 +00:00
Roman Nozdrin
d807aaee0a
MCOL-1347 ALTER TABLE ADD COLUMN now creates a column with correct width for a varchar columns.
2018-12-10 10:11:11 -08:00
David Hall
c3477fe243
Merge branch 'develop' into MCOL-1793
2018-11-23 12:43:17 -06:00
David Hall
176ef2f2c1
MCOL-1793 Add udafContext to the copy constructor of WindowFunctionColumn.
2018-11-23 12:42:29 -06:00
Roman Nozdrin
6563f48e32
MCOL-1786 Reduce the performance degradation caused by iequals.
2018-11-21 19:43:46 +03:00
Patrick LeBlanc
8dc988d849
Merge pull request #607 from mariadb-corporation/MCOL-520
...
Mcol 520
2018-11-07 10:37:10 -06:00
Gagan Goel
f8a9ce0fb5
MCOL-1786 Handle "true" keyword for numeric data types in cpimport
2018-10-10 01:13:39 -04:00
david hill
101b36acb6
Merge branch 'develop' into MCOL-520
2018-10-08 14:23:48 -05:00
Andrew Hutchings
f1f13a09d1
Merge branch 'develop-1.1' into 1.1-merge-up-2018-10-05
2018-10-05 18:40:07 +01:00
Patrick LeBlanc
f97dec3406
Merge branch 'fix-skip-oam-init' into MCOL-520
2018-10-04 15:35:32 -05:00
Patrick LeBlanc
3d7f4a3170
Squash commit of fix-skip-oam-init branch.
...
Squashed commit of the following:
commit faaee9141a
Author: Patrick LeBlanc <patrick.leblanc@mariadb.com >
Date: Wed Oct 3 13:03:02 2018 -0500
Commented a debugging printout.
commit e47e784c53
Author: Patrick LeBlanc <patrick.leblanc@mariadb.com >
Date: Wed Oct 3 12:13:23 2018 -0500
Moved the SKIP_OAM_INIT check for cleanliness, added 'config.h' to
other places that need it.
commit 6626045535
Author: Patrick LeBlanc <patrick.leblanc@mariadb.com >
Date: Tue Oct 2 16:33:06 2018 -0500
WIP. First cut of excising OAM and root access from the dev process.
This passes most tests; need to make sure that the tests that fail
have nothing to do with this change.
DMLProc is doing something that results in a sudo password prompt.
Will obliterate that next.
2018-10-03 13:04:54 -05:00
Patrick LeBlanc
e47e784c53
Moved the SKIP_OAM_INIT check for cleanliness, added 'config.h' to
...
other places that need it.
2018-10-03 12:23:35 -05:00
David Hill
f25082bc9a
MCOL-520
2018-09-25 17:20:46 -05:00
David Hill
b7b98a3e1a
MCOL-520
2018-09-25 11:32:56 -05:00
David Hill
81e35e35eb
MCOL-520
2018-09-21 11:23:43 -05:00
David Hill
4e6e5647ef
MCOL-520
2018-09-21 10:40:05 -05:00
Andrew Hutchings
24c5e93756
MCOL-1737 Add debug logging options for LRU cache
...
This adds options which are user enabled to debug the LRU cache inside
ColumnStore. Specifically cache flushing.
It adds the following:
* PrimProc flush information when SIGUSR2 mode is enabled
* cpimport dictionary flush information when -d2 is used
* WriteEngineServer DML flush information to STDERR
2018-09-21 09:50:10 +01:00
Roman Nozdrin
4572c25534
MCOL-1675 When insert record calculate HWM using a column with the smallest width instead of the first column in the same way as in MCOL-984.
2018-08-28 11:29:38 +03:00
Andrew Hutchings
03da6df473
Merge branch 'develop-1.1' into 1.1-merge-up-20180817
2018-08-17 16:17:13 +01:00
Andrew Hutchings
9e3f92b6a3
MCOL-1330 Make debug flag let valgrind work
...
Add a '-d' flag to WriteEngine, ExeMgr and PrimProc to let valgrind work
with them.
2018-06-25 15:10:28 +01:00
Andrew Hutchings
8c90419852
Fix merge and coding style issues
2018-06-22 15:31:31 +01:00
Andrew Hutchings
7ca289ded9
Merge branch 'develop-1.1' into 1.1-merge-up-20180621
2018-06-22 14:51:20 +01:00