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
Georg Richter
Don't use ulong in mysql.h/mariadb_stmt.h
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Merge branch '3.3' into 3.4
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Length and type checking for stmt_fetch_to_bind

Before processing data and feeding the bind structure or
sending data via callback to the client, the API must determine
validity of lengths and checks for possible overflows:
- minimum length of row data must be 1 + (column_count + 9) / 8
- length for integers must be in range 0..255 (zerofill)
- length for NEWDECIMAL must be in range 0..67
- check if there is enough space for all types (except MYSQL_TYPE_NULL)
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Sergei Golubchik
MDEV-39776 SHOW CREATE TABLE corrupts `-quoted table options

when the option value is read as an identifier,
it must be printed as an identifier.

strictly speaking, numbers don't have to be parsed as identifiers,
but it doesn't hurt.
Georg Richter
Merge branch '3.3' into 3.4
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Fix CONC-825: Fix unaligned pointer cast in int2store macro

Replaced the unsafe `uint16*` pointer cast in the x86/Win32 path
of `int2store` with a portable byte-shifting implementation.

The previous typed cast violated strict alignment rules and caused
modern optimizing compilers (e.g., GCC -O2) to emit aligned vector
instructions (like `movaps`) on unaligned packet buffer offsets,
leading to runtime crashes
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Windows build fix #2
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Added missing file rpl_fuzzer.c
Oleksandr Byelkin
MDEV-40159: single quote in DATA DIRECTORY breaks SHOW CREATE TABLE

Correct append function called for value in quotes
Georg Richter
Merge branch '3.3-georg' into 3.3
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Sergei Golubchik
fix plugins.feedback_os_release failure on sles-1600

just the comment at the beginning of its /etc/os-release
is already more than 256 bytes
Georg Richter
Fix copy/paste error in replication/binlog api
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Sergei Golubchik
MDEV-39817 JSON_ARRAYAGG() returns garbage because of off-by-one error

don't truncate to a position somewhere between
[old_length, max_length-1] if old_length == max_length.
Simply set the length to old_length in this case.

Also, max_length cannot be zero.
Sergei Golubchik
more portability fixes for galera.galera_sst_mariabackup_encrypt_with_key_server

make sure pkill doesn't kill itself. it's documented not to do that,
but if it's not called directly (e.g. my_safe_process -> sh -> pkill)
it can still kill its parents.
Sergei Golubchik
MDEV-39812 32-bit size truncation in RocksDB
Georg Richter
caching_sha2 fixes:

- check that filesize doesn't exceed INT_MAX
- Fixed parameter order typo in fread
- terminate public key by trailing zero
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Windows build fix (replication/binlog API)
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Fix ISO C90 errors introduced by pervious binlog API fix
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Add libFuzzer target for MariaDB replication event parsing

Introduces `rpl_fuzzer`, a LLVMFuzzerTestOneInput harness designed to
actively fuzz the replication stream parser (`mariadb_rpl_fetch`) and
row extraction mechanisms (`mariadb_rpl_extract_rows`).

Key design choices implemented in the harness:
- Bypasses traditional file I/O overhead by using `/dev/shm` virtual
  RAM disk files to safely leverage high-concurrency multi-core execution.
- Includes a dynamic stream-alignment scanner that searches for the
  `\xFEbin` magic signature, stripping raw network wrappers from seed inputs.
- Implements synchronized cross-event state tracking (pinning the last
  seen TABLE_MAP_EVENT) to properly feed and exercise the deep
  `mariadb_rpl_extract_rows` column-unpacking logic.

This harness effectively hardens the library against multi-byte integer
underflows, stack buffer smashing, and invalid metadata cross-references.
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Georg Richter
Skip test_mysql_insert_id test on MySQL

This test doesn't work anymore with MySQL, since mixing operations
on non transactional and transactional inside a transaction is not
supported.
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Oleksandr Byelkin
MDEV-40159: Complete priv escalation for low priv user upon backup restore: DATA/INDEX DIRECTORY, symlinks

Correct append function called for value in quotes
Georg Richter
CONC-827: Fix overflows and bugs identified by rpl_fuzzer

Fixes various undefined behavior bugs and integer overflows discovered
by the rpl_fuzzer tool.

This addresses the second part of the task, following the initial
merge of the rpl_fuzzer deployment from 3.3-rpl_fuzz into the
3.3 branch.
  • cc-x-codbc-windows: 'dojob pwd if '3.4' == '3.4' ls win32/test SET TEST_DSN=master SET TEST_DRIVER=master SET TEST_PORT=3306 SET TEST_SCHEMA=odbcmaster if '3.4' == '3.4' cd win32/test if '3.4' == '3.4' ctest --output-on-failure' failed -  stdio
Sergei Golubchik
MDEV-40065 bundled command-line clients don't always enforce length limits on server results

replace strmov/strxmov with strnmov, strmake, or my_snprintf
ParadoxV5
Test for MDEV-39788

MDEV-39788 found that the recent refactor on the `main` (now 12.3)
branch missed the (inconsistent) detail that, unlike `@@relay_log_info`,
`@@master_info`’s line count _includes_ the line-count line itself.

This commit extends and simplifies the test
`rpl.rpl_read_new_relay_log_info` to `main.rpl_read_new_info` so it
* Checks this detail to remind future changes of this type of mistake.
* Covers `@@master_info` as well.

While here, this commit also includes a new-format version
of MDEV-38020’s test to double as the value read check.
Georg Richter
Infer fixes for libmariadb
Sergei Golubchik
MDEV-39816 MyISAM crash on corrupted MYI with invalid keyseg length

check that the keyseg lengths are sane.

fix Aria too.
Sergei Golubchik
MDEV-39818 backtick in FK names breaks SHOW CREATE TABLE

InnoDB used to have two versions of innobase_quote_identifier().
One that handled embedded backticks and one that didn't.

Let's use just one implementation that handles backticks.
Keep the other one as a helper that writes to FILE but does not
implement the quoting logic.