1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Merge 10.6 into 10.10

The MDEV-29693 conflict resolution is from Monty, as well as is
a bug fix where ANALYZE TABLE wrongly built histograms for
single-column PRIMARY KEY.
Also includes a fix for safe_malloc error reporting.

Other things:
- Copied main.log_slow from 10.4 to avoid mtr issue

Disabled test:
- spider/bugfix.mdev_27239 because we started to get
  +Error	1429 Unable to connect to foreign data source: localhost
  -Error	1158 Got an error reading communication packets
- main.delayed
  - Bug#54332 Deadlock with two connections doing LOCK TABLE+INSERT DELAYED
    This part is disabled for now as it fails randomly with different
    warnings/errors (no corruption).
This commit is contained in:
Marko Mäkelä
2023-10-13 15:14:37 +03:00
committed by Monty
436 changed files with 13299 additions and 28179 deletions

View File

@@ -743,7 +743,6 @@ int Histogram_json_hb::parse_bucket(json_engine_t *je, Field *field,
bool Histogram_json_hb::parse(MEM_ROOT *mem_root, const char *db_name,
const char *table_name, Field *field,
Histogram_type type_arg,
const char *hist_data, size_t hist_data_len)
{
json_engine_t je;
@@ -753,7 +752,6 @@ bool Histogram_json_hb::parse(MEM_ROOT *mem_root, const char *db_name,
int end_element;
bool end_assigned;
DBUG_ENTER("Histogram_json_hb::parse");
DBUG_ASSERT(type_arg == JSON_HB);
json_scan_start(&je, &my_charset_utf8mb4_bin,
(const uchar*)hist_data,