Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Console View


Categories: connectors experimental galera main
Legend:   Passed Failed Warnings Failed Again Running Exception Offline No data

connectors experimental galera main
ParadoxV5
MDEV-39482 Drop support for CHANGE MASTER savefiles from MySQL/MariaDB 5.5 and before

Remove the ugly additional code for the old,
inextensible format before MySQL/MariaDB 4.1 for
`@@master_info_file` and 5.6/10.0 for `@@relay_log_info_file`.

Those version versions are EOL for 6 years or more,
so there’s no priority keeping a slightly divergent code
path around for them only to hinder code improvements.

MDEV-38020’s MTR test is (temporarily) removed along
with the rest of `rpl.rpl_read_old_relay_log_info`;
it will be ported to the new format in a separate commit.
Yuchen Pei
MDEV-32796 [wip] Allow spider to be uninstalled using UNISTALL statements

Still a proof of concept. Failing one test: spider/bugfix.mdev_29667
by memleak
Tony Chen
MDEV-39828 Stabilize query_cache_executable_comments counter checks

The test asserted absolute Qcache_inserts/Qcache_hits values but reset them
with FLUSH STATUS which  does not clear those global counters.
The expected values were therefore cumulative from a pristine server, so the
test drifted by a constant offset whenever the mysqld instance was reused with
prior query cache activity (fulltest server reuse, --repeat).

E.g:

```
./build/mysql-test/mysql-test-run.pl --parallel=1 --repeat=2 main.query_cache_executable_comments
```

Use FLUSH GLOBAL STATUS instead, matching every other query cache test
(query_cache.test, query_cache_with_views.test, subselect_cache.test).
This zeroes the SHOW Qcache counters, making each case independent
of server history.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
Lawrin Novitsky
Fix of MSAN issues.

Many "use-of-uninitialized-value" - all seem to be static init order
problem.
Lawrin Novitsky
Made prepearedstatement testsuite not to force CSPS for defautl connection

This way it can be controlled via params/env which typ of PS is tested.
Tests requiring CSPS should take care of that
Raghunandan Bhat
MDEV-39559: Assertion `b` failed in `my_strnncoll_xxxx_nopad_ci`

Problem:
  When verifying a `UNIQUE` constraint over an empty BLOB/TEXT column,
  `Field_blob::cmp(a_ptr, b_ptr)` extracts a NULL data pointer (with
  length 0) from the record slot and forwards it to the charset-level
  comparison, which asserts non-NULL pointers (added in MDEV-35717).

  A zero-length blob is allowed to have a NULL data pointer in its
  record slot; `Field_blob::val_decimal()` already treats (NULL, 0) as
  an empty value. The comparison paths missed that substitution.

Fix:
  - In `Field_blob::cmp(a_ptr, b_ptr)`and
    `Field_blob::key_cmp(key_ptr, max_key_length)`, substitute "" for a
    NULL data pointer before delegating to the comparison.
  - Add a debug assert in each of the above functions to document the
    invariant that a NULL pointer is only valid alongside zero length
    and (NULL, length>0) is invalid.
Lawrin Novitsky
ODBC-493 if LOCAL INFILE is not disabled, it should be LOCAL_INFILE_MODE_AUTO

This is safer mode than allowing it always
Yuchen Pei
MDEV-32796 [wip] Allow spider to be uninstalled using UNISTALL statements

Still a proof of concept. Failing one test: spider/bugfix.mdev_29667
by memleak
Lawrin Novitsky
CONCPP-157, CONCPP-158 setBytes() parameter is sent as binary type in

binary protocol. It is sent as MYSQL_TYPE_BLOB. As counterpart, binary
types received from the server via binary protocol are now converted
to int types - berfore the exception would be thrown right away w/out
any attempt to convert.
Alexander Barkov
MDEV-39518 Allow prepared statements in stored functions in assignment right hand

In progress
Yuchen Pei
MDEV-32796 [wip] Add a pre_uninstall handlerton method to allow some cleanup at UNISTALL statements

Give dynamic storage engine plugins an opportunity to cleanup, so that
ref_count can be reduced to zero, so that UNINSTALL can proceed
instead of emitting "plugin is busy".

TODO: However, further work is needed to justify the cleanup steps in
spider_pre_uninstall, which are lifted from spider_db_done and
spider_close_connection
Daniel Black
MDEV-29909 : SST fails when datafile is larger than datadir space (fix)

GCC 7/8, used in RHEL8 and compatible distros, require the linking
of stdc++fs to provide filesystem implementations used.

Fixes: 02e1853c894906737fe0ea5f836adb087b1a72ad
Lawrin Novitsky
CONCPP-153 Parameter value escaping did not consider the charset

In case of client side statement prepare, if the data is encoded in multibyte
charsets, escaping of string and binary parameter could lead to incorrect data
that in its turn could let sql injection with charsets like big5, gbk, sjis, cp932.

The fix considers the charset now. The testcase has been added.
Raghunandan Bhat
MDEV-39559: Assertion `b` failed in `my_strnncoll_xxxx_nopad_ci`

Problem:
  When verifying a `UNIQUE` constraint over an empty BLOB/TEXT column,
  `Field_blob::cmp(a_ptr, b_ptr)` extracts a NULL data pointer (with
  length 0) from the record slot and forwards it to the charset-level
  comparison, which asserts non-NULL pointers (added in MDEV-35717).

  A zero-length blob is allowed to have a NULL data pointer in its
  record slot; `Field_blob::val_decimal()` already treats (NULL, 0) as
  an empty value. The comparison paths missed that substitution.

Fix:
  - In `Field_blob::cmp(a_ptr, b_ptr)`and
    `Field_blob::key_cmp(key_ptr, max_key_length)`, substitute "" for a
    NULL data pointer before delegating to the comparison.
  - Add a debug assert in each of the above functions to document the
    invariant that a NULL pointer is only valid alongside zero length
    and (NULL, length>0) is invalid.
Lawrin Novitsky
Fix of MSAN issues.

Many "use-of-uninitialized-value" - all seem to be static init order
problem.
Lawrin Novitsky
ODBC-495,ODBC-496 FIxes and tests

A bit accidenatally combined in same commit.
ODBC-495 about missing MAXIMUM_SCALE info for temporal types in
SQLGetTypeInfo reasults.
ODBC-496 - Small negative scale for SQL_NUMERIC parameter could cause buffer overflow.
The fix caps such values by -38 the same way as positive values capped
by 38.
Lawrin Novitsky
One more "use-of-uninitialized-value" use
Lawrin Novitsky
Merge branch 'odbc-3.1'
Alexander Barkov
MDEV-39518 Allow prepared statements in stored functions in assignment right hand

In progress
ParadoxV5
GCC bug with `char[1<<28]`… Windoze’s `#define ERROR`… urgh!
Yuchen Pei
MDEV-32796 [wip] Allow spider to be uninstalled using UNISTALL statements

Still a proof of concept. Failing one test: spider/bugfix.mdev_29667
by memleak
ParadoxV5
squash "reorganize structs"
Lawrin Novitsky
Minor formatting changes
rusher
[misc] add maxscale testing to CI
Yuchen Pei
MDEV-32796 [wip] Add a pre_uninstall handlerton method to allow some cleanup at UNISTALL statements

Give plugins an opportunity to cleanup, so that ref_count can be
reduced to zero, so that UNINSTALL can proceed instead of emitting
"plugin is busy".

TODO: However, further work is needed to justify the cleanup steps in
spider_pre_uninstall, which are lifted from spider_db_done and
spider_close_connection
Lawrin Novitsky
CONCPP-152 fix of effect of C/C resetting length of fixed size types

The driver was using that length directly. Now it tests the length and
use either it or buffer length.
Marko Mäkelä
squash! d9ef0340e4e5d87378381629b57a6d204ef7e708

Write long file names

backup_stream_write(): Write a buffer to the backup stream
Lawrin Novitsky
Merge branch 'cpp-1.0' into cpp-1.1
Yuchen Pei
MDEV-32796 [wip] Allow spider to be uninstalled using UNISTALL statements

Still a proof of concept. Failing one test: spider/bugfix.mdev_29667
by memleak
Lawrin Novitsky
Merge branch 'odbc-3.1'
Lawrin Novitsky
Fix of issues found by MSAN.

It looks like both are problems with static variables initialization
order issue(MSAN reports use of uninitialized variables on TypeInfoColumnName initialization
+ other similar cases)
  • codbc-alma8-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-alma9-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-bookworm-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-bookworm-aarch64-deb: build linux-connector_odbc failed -  stdio
  • codbc-bullseye-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-bullseye-aarch64-deb: build linux-connector_odbc failed -  stdio
  • codbc-jammy-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-jammy-aarch64-deb: build linux-connector_odbc failed -  stdio
  • codbc-noble-aarch64-deb: build linux-connector_odbc failed -  stdio
  • codbc-rhel8-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-rhel9-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-rocky8-aarch64: build linux-connector_odbc failed -  stdio
  • codbc-windows: 'dojob pwd && rm -rf win32 && mkdir win32 && cd win32 && del CMakeCache.txt && cmake ../src -G "Visual Studio 17 2022" -A"Win32" -DCONC_WITH_MSI=OFF -DCONC_WITH_UNIT_TESTS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SSL=SCHANNEL -DALL_PLUGINS_STATIC=ON && cmake --build . --config RelWithDebInfo || cmake --build . --config RelWithDebInfo' failed -  stdio
Lawrin Novitsky
CONCPP-153 Parameter value escaping did not consider the charset

In case of client side statement prepare, if the data is encoded in multibyte
charsets, escaping of string and binary parameter could lead to incorrect data
that in its turn could let sql injection with charsets like big5, gbk, sjis, cp932.

The fix considers the charset now. The testcase has been added.
Marko Mäkelä
fixup! 5e6b1772edc529f6300c8beefa0291894a2359fb
Lawrin Novitsky
Fix of MSAN issues.

"use-of-uninitialized-value". Looks like yet another static init order
problems.
ParadoxV5
operator hidden by operator ?
Lawrin Novitsky
Merge branch 'cpp-1.0' into cpp-1.1
Lawrin Novitsky
Merge branch 'odbc-3.1'
Lawrin Novitsky
CONCPP-156 Move to C/C 3.4 to support Parsec plugin

The submodule has been moved to 3.4.9 already in one of previous
commits. This one makes it it installed by MSI and taraballs
Marko Mäkelä
squash! 8077134777e3d3fda875413b45f440873c46e358

Invoke backup_start, backup_step also for BACKUP_PHASE_FINISH
(anything else than BACKUP_PHASE_ABORT).