Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.6.20, 10.5
-
openSUSE Leap 15.6 with MariaDB 10.6.20
Description
Attached is the Log after the Query is fired to the Server:
SELECT DISTINCT t1.`ID` FROM JAX_FORM_RESOURCES t1 WHERE (t1.`ID` LIKE 'resources/SYSTEM/SCHEDULER_JOBS_FORM/V%')
|
Same Database Downgraded to 10.6.19 everything Works.
Every Table in DB is per SPIDER Connected to a MariaDB 10.6.20 Database:
wrapper "mysql", srv "link_1011_local", table "JAX_FORM_RESOURCES"
|
Everything works directly connected to a MariaDB Server 10.6.20 without SPIDER Engine in between.
MariaDB with SPIDER Engine Connects to a HAProxy and also directly to another MariaDB 10.6.20 Server and via HAProxy to another MariaDB 10.6.20 Galera Cluster.
Attachments
Issue Links
- is caused by
-
MDEV-26345 SELECT MIN on Spider table returns more rows than expected
-
- Closed
-
- is duplicated by
-
MDEV-35868 MariaDB 11.4.4 Crashes when querying a Spider table on a remote system with a distinct selection that is not a primary key.
-
- Closed
-
- relates to
-
MDEV-35623 UBSAN: function-type-mismatch in spider_param_conn_recycle[_mode/_strict], spider_param_internal_xa_snapshot, and spider_param_block_size
-
- Closed
-
Reproducible with the following simple case:
--disable_query_log
--disable_result_log
--source ../../t/test_init.inc
--enable_result_log
--enable_query_log
--disable_query_log
--disable_result_log
--source ../../t/test_deinit.inc
--enable_result_log
--enable_query_log
Caused by this change in
MDEV-26345(order->item_ptr is NULL, but *order->item is an Item_temptable_field):@@ -14071,7 +14084,7 @@ int spider_mbase_handler::append_group_by(
str->q_append(SPIDER_SQL_GROUP_STR, SPIDER_SQL_GROUP_LEN);
for (; order; order = order->next)
{
- if ((error_num = spider_db_print_item_type((*order->item), NULL, spider,
+ if ((error_num = spider_db_print_item_type(order->item_ptr, NULL, spider,
str, alias, alias_length, dbton_id, use_fields, fields)))
{
DBUG_RETURN(error_num);
At first glance, it is strange that query.group_by passed to the spider group by handler is not null, given there's no group by in the query.