david.hall
9935431b31
Remove blank lines
2022-11-17 12:02:31 -06:00
Sergei Golubchik
246a4db8de
fix C API includes
...
ColumnStore used to include server's mysql.h
but link all tools with libmariadb.so
There's no guarantee that this would work, even with workarounds
it had in dbcon/mysql/sm.cpp
Fix:
* tools (linked with libmariadb.so) *must* include libmariadb's mysql.h
* as a hack prevent service_thd_timezone.h from being loaded into tools,
as it conflicts with libmariadb's mysql.h
* server plugin *must* include server's mysql.h
* also don't link every tool with libmariadb.so, link the helper library
(liblibmysqlclient.so) that actually needs it, tools use this
helper library, not libmariadb.so directly
2022-11-17 12:02:07 -06:00
Sergei Golubchik
21c3bbce16
do *not* link ha_columnstore.so with libmariadb.so
...
this means some libraries have to be compiled twice -
for tools with libmariadb.so and for plugin, without.
2022-11-17 11:53:42 -06:00
Sergei Golubchik
ae88ef1823
use system boost, if possible
...
boost 1.71.0 is what ubuntu focal has, so let's start with that version.
boost 1.77.0 is the first that supports c++20
2022-11-17 11:47:08 -06:00
david.hall
9b84bf57c9
From serg: add dependency for generated header files errorids.h messageids.h
2022-11-17 11:46:10 -06:00
david.hall
8642231666
Changes to compile local
2022-11-17 11:29:21 -06:00
Roman Nozdrin
4b15a7e8a9
Merge pull request #2628 from denis0x0D/MCOL-5265
...
[MCOL-5265] Change boost:shared_ptr to std::shared_ptr.
2022-11-15 16:45:19 +03:00
Denis Khalikov
e09d24cb8d
[MCOL-5265] Change boost:shared_ptr to std::shared_ptr.
...
This is attempt to make some part of the code more stable.
For some reason we can get a spurious nullptr for boost::shared_ptr
which cause an assert and abort.
2022-11-14 18:53:53 +03:00
David.Hall
61d5f80aa0
MCOL-5279 This approach executes same node DEC::writeToClient the last taking multiple ExeMgrs into account ( #2623 )
...
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com >
v-columnstore-22.08.4-1
2022-11-11 13:17:45 -06:00
David.Hall
e5f3260c8e
Update Version to 22.08.4-1
2022-11-11 13:13:04 -06:00
Roman Nozdrin
e71bb49267
Merge pull request #2617 from mariadb-corporation/spetrunia-tmp
...
Add ability to compile against MariaDB with new cost model
2022-11-10 20:49:08 +03:00
Sergei Petrunia
b7fc8e4609
Add ability to compile against MariaDB with new cost model
...
If MariaDB defines MARIADB_NEW_COST_MODEL, then ha_mcs::scan_time()
has a different signature.
2022-11-10 18:16:44 +03:00
Roman Nozdrin
4e7b0b9c4c
Merge pull request #2616 from mariadb-corporation/do-not-link-mysql-client
...
Serg`s patch for develop-6 revised for develop
2022-11-10 14:03:17 +03:00
Leonid Fedorov
37fd915a08
Serg`s patch for develop-6 revised for develop https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/2614
2022-11-09 22:41:38 +00:00
Gagan Goel
f4e3022fbd
This commit fixes an incorrect predicate in the if condition ( #2608 )
...
that checks for HWM extent in WE_DMLCommandProc::processBatchInsertHwm().
2022-11-08 14:51:42 -06:00
Roman Nozdrin
aa372fed58
Merge pull request #2610 from mariadb-corporation/columnstore-22.08.3-1
...
Columnstore 22.08.3 1
2022-11-06 00:15:13 +03:00
David.Hall
f5aeb1c1a7
Merge branch 'develop' into columnstore-22.08.3-1
v-columnstore-22.08.3-1
2022-11-04 16:12:56 -05:00
Roman Nozdrin
09d785fc9b
MCOL-5279 This commit fixes the corner case of the issue that can rarely happen when flow control is used to backpressure PPs that overflows EM with Primitive messages. It also adds a relevant test that makes sense in a multi-node scenario only. ( #2605 )
...
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com >
2022-11-03 16:36:54 -05:00
David.Hall
e3ab19e639
Remove unreferenced variable
2022-11-03 11:29:24 -05:00
David.Hall
4ccab75720
Mcol 5279 2 ( #2606 )
...
* MCOL-5279 Send ByteStream with Primitive message to remote PPs first
and to the local PP last
MCOL-5166 forces EM to interact with PP over a messaging queue when they are in the same process. When ByteStream is taken from the queue it is drained so it is impossible to re-use the same ByteStream to send to the other nodes.
* MCOL-5279 Fix a corner case when sending PP messages
Multi-node can break when flow control is used to backpressure PPs that overflows EM with Primitive messages.
2022-11-03 09:42:12 -05:00
Leonid Fedorov
88404f70f1
MCOL-5013: added terminated_by, enclosed_by, escaped_by for s3dataload
2022-11-03 15:46:08 +03:00
Roman Nozdrin
e3505aa26c
Merge pull request #2601 from mariadb-corporation/MCOL-5227
...
func json_arrayagg test adjustments
2022-11-03 01:57:10 +03:00
David.Hall
a1c8f519c1
MCOL-5279 Send ByteStream with Primitive message to remote PPs first ( #2603 )
...
and to the local PP last
MCOL-5166 forces EM to interact with PP over a messaging queue when they are in the same process. When ByteStream is taken from the queue it is drained so it is impossible to re-use the same ByteStream to send to the other nodes.
2022-11-02 16:09:45 -05:00
david.hall
eef1495105
Update VERSION to 22.08.3-1
2022-11-02 15:50:01 -05:00
mariadb-AndreyPiskunov
8b4be1b7f9
func json_arrayagg test adjustments
2022-11-02 16:07:45 +02:00
Roman Nozdrin
c2ae123020
Merge pull request #2600 from drrtuy/MCOL-5279
...
MCOL-5279 This patch forces to send ByteStream with a Primitive messa…
2022-11-02 15:35:08 +03:00
Roman Nozdrin
76a33ac246
MCOL-5279 This patch forces to send ByteStream with a Primitive message to the remote PPs first and to the local PP last
...
MCOL-5166 forces EM to interact with PP over a messaging queue when they are in the same process. When ByteStream is taken from the queue it is drained so it is impossible to re-use the same ByteStream to send to the other nodes.
2022-11-01 19:54:52 +00:00
David.Hall
6d680ceb8c
MCOL-603 Add error message for sum(a=1) ( #2597 )
...
* MCOL-603 Add error message for sum(a=1)
This isn't currently supported, but rather than emitting an error, it asserted and crashed.
2022-11-01 10:13:40 -05:00
mariadb-RomanNavrotskiy
511a9e726f
This patch adds new Perl dependencies needed for MTR in RPM-based distros and does a housekeeping for changed paths
2022-11-01 17:51:41 +03:00
mariadb-AndreyPiskunov
33b09f5499
Add truncate for result consistency
2022-10-31 20:38:08 +03:00
Roman Nozdrin
8ff367e58a
Merge pull request #2592 from mariadb-corporation/MCOL-5227
...
MCOL-5227
2022-10-31 20:34:01 +03:00
mariadb-AndreyPiskunov
d7f4ec73c5
Small fixes + test sorting
2022-10-31 14:56:32 +02:00
mariadb-AndreyPiskunov
b57d2c30fe
Minor fixes
2022-10-31 14:56:32 +02:00
mariadb-AndreyPiskunov
315e4be2d8
First working attempt for json_arrayagg
2022-10-31 14:56:32 +02:00
mariadb-AndreyPiskunov
1714b75434
Non working attempt to do MCOL-5227
2022-10-31 14:56:32 +02:00
Roman Nozdrin
d22627af7d
Merge pull request #2566 from denis0x0D/MCOL-5191_1
...
MCOL-5191 Add MCV statistics.
2022-10-30 15:49:46 +03:00
Roman Nozdrin
567a5657ee
Merge pull request #2593 from drrtuy/constnullablestring
...
Adding NULL flag into ConstString class
2022-10-23 16:54:08 +03:00
Roman Nozdrin
a0086bc561
Adding NULL flag into ConstString class
2022-10-21 18:13:18 +00:00
Roman Nozdrin
29d535144b
Merge pull request #2588 from tntnatbry/MCOL-5000
...
MCOL-5000 Disable ALTER TABLE statement execution on replicas.
2022-10-21 18:38:23 +03:00
Roman Nozdrin
e02d61b52a
Merge pull request #2585 from mariadb-corporation/mtr-arm64
...
#MCOL-5261 enable mtr for all arm64 platforms
2022-10-20 10:05:37 +03:00
mariadb-RomanNavrotskiy
341fe32800
#MCOL-5261 enable mtr for all arm64 platforms
2022-10-15 08:36:05 +05:00
Gagan Goel
8a9b6b32e7
MCOL-5000 Disable ALTER TABLE statement execution on replicas.
...
Exit early from the plugin execution of ALTER TABLE statements
on the replica nodes. This is to prevent re-execution of syscat
table population from the replica nodes which should only be
executed once by the primary node in a CS cluster setup.
2022-10-14 17:20:55 +00:00
Roman Nozdrin
878a8ab857
Compilation error fixes for the recent updates in container images
2022-10-14 17:53:48 +03:00
Roman Nozdrin
e7fb790515
Merge pull request #2583 from mariadb-corporation/columnstore-22.08.2-1
...
Update Version to 22.08.2-1
2022-10-12 20:03:05 +03:00
Roman Nozdrin
b26c904115
Merge pull request #2560 from drrtuy/change_mask_arm_neon2
...
Unified AUX column scanning at ARM and x86 to re-enable vectorization at ARM.
2022-10-12 14:32:07 +03:00
Denis Khalikov
e299a8409d
MCOL-5191 Add MCV statistics.
...
This patch adds:
1. Initial version of random sampling.
2. Initial version of MCV statistics.
2022-10-09 22:26:40 +03:00
Roman Nozdrin
9d774c1d95
Merge pull request #2581 from mariadb-corporation/shm
...
ci: shm size 500m for regression tests
2022-10-07 22:44:49 +03:00
mariadb-RomanNavrotskiy
36b540cd59
ci: shm size 500m for regression tests
2022-10-07 21:05:37 +05:00
NTH19
7d76dc4534
AUX column scan(MCOL-5021) effectively disables vectorized scanning on
...
ARM platforms. This patch resolves this issue and unifies AUX column
processing at x86 and ARM using tempate class SimdProcessor.
The patch also replaces uint16_t mask previously used in column.cpp and
SimProcessor code with a native masks that platform uses, e.g. __m128i
or __m128 on x86 and variety of masks on ARM.
To unify the processing I introduced a new filtering Compare Operator - COMPARE_NULLEQ.
with a 'c1 IS NULL semantics'.
2022-10-07 10:32:54 +00:00
mariadb-KirillPerov
85a6121f76
Mtrfix kp 220926 ( #2580 )
...
* Update mcol_2000.test
* Update mcs117_create_utf8.test
* Update mcs12_alter_table.test
* Update mcs13_alter_table_negative.test
* Update mcs169_bin_functions.test
* Update mcs171_null_functions.test
* Update mcs173_coalesce_function.test
* Update mcs174_case_function.test
* Update mcs175_convert_functions.test
* Update mcs176_if_function.test
* Update mcs178_adddate_function.test
* Update mcs179_addtime_function.test
* Update mcs180_ascii_function.test
* Update mcs181_between_and.test
* Update mcs182_char_length_function.test
* Update mcs183_date_function.test
* Update mcs184_day_function.test
* Update mcs185_dayname_function.test
* Update mcs186_dayofyear_function.test
* Update mcs187_dayofmonth_function.test
* Update mcs1_create_table_data_types.test
* Update mcs19_grant_revoke.test
* Update mcs229_data_compression_type.test
* Update mcs28_load_data_local_infile.test
* Update mcs2_create_table_valid_names.test
* Update mcs5_create_table_from_other_tables.test
* Update mcs74_check_constraint.test
* Update mcs7_create_table_with_metadata.test
* Update mcs87_alter_column.test
* Update mcs8_create_table_with_constraints.test
* Update disabled.def
* Update mcs19_grant_revoke.test
* Update mcs19_grant_revoke.test
* Update mcs19_grant_revoke.test
2022-10-07 11:36:29 +03:00