MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
Libing Song be6d48fd53 MDEV-33049 Assertion `marked_for_write_or_computed()' failed in bool
Field_new_decimal::store_value(const my_decimal*, int*)

Analysis
========
When rpl applier is unpacking a before row image, Field::reset() will be
called before setting a field to null if null bit of the field is set in
the row image. For Field_new_decimal::reset(), it calls
Field_new_decimal::store_value() to reset the value. store_value() asserts
that the field is in the write_set bitmap since it thinks the field is
updating.

But that is not true for the row image generated in FULL_NODUP
mode. In the mode, the before image includes all fields and the after
image includes only updated fields.

Fix
===
In the case unpacking binlog row images, the assertion is meaningless.
So the unpacking field is marked in write_set temporarily to avoid the
assertion failure.
2024-01-12 08:32:22 +00:00
.github
BUILD
client Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
cmake MDEV-33096 mysys/my_timezone.cc does not compile on AIX 2023-12-22 13:17:55 +01:00
dbug
debian Merge remote-tracking branch '11.3' into 11.4 2023-12-21 15:40:55 +01:00
Docs
extra Merge 11.2 into 11.3 2024-01-05 14:20:35 +02:00
include Merge 11.3 into 11.4 2024-01-05 14:53:03 +02:00
libmariadb@458a4396b4
libmysqld Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
libservices
man
mysql-test MDEV-33049 Assertion `marked_for_write_or_computed()' failed in bool 2024-01-12 08:32:22 +00:00
mysys MDEV-33096 mysys/my_timezone.cc does not compile on AIX 2023-12-22 13:17:55 +01:00
mysys_ssl
plugin Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
randgen/conf
scripts Merge 11.3 into 11.4 2024-01-05 14:53:03 +02:00
sql MDEV-33049 Assertion `marked_for_write_or_computed()' failed in bool 2024-01-12 08:32:22 +00:00
sql-bench
sql-common
storage Merge 11.2 into 11.3 2024-01-10 15:30:21 +02:00
strings Merge branch '11.2' into 11.3 2023-12-21 02:14:59 +01:00
support-files Merge remote-tracking branch '11.3' into 11.4 2023-12-21 15:40:55 +01:00
tests Merge branch '11.1' into 11.2 2023-12-20 23:43:05 +01:00
tpool
unittest Merge remote-tracking branch '11.3' into 11.4 2023-12-21 15:40:55 +01:00
vio
win Merge 11.2 into 11.3 2024-01-05 14:20:35 +02:00
wsrep-lib@a5d95f0175
zlib
.clang-format
.gitattributes
.gitignore
.gitlab-ci.yml
.gitmodules
appveyor.yml
BUILD-CMAKE
CMakeLists.txt
CODING_STANDARDS.md
config.h.cmake MDEV-33096 mysys/my_timezone.cc does not compile on AIX 2023-12-22 13:17:55 +01:00
configure.cmake MDEV-33096 mysys/my_timezone.cc does not compile on AIX 2023-12-22 13:17:55 +01:00
CONTRIBUTING.md
COPYING
CREDITS
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md
SECURITY.md
THIRDPARTY
VERSION

Code status:

  • Appveyor CI status ci.appveyor.com

MariaDB: The open source relational database

MariaDB was designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

MariaDB is brought to you by the MariaDB Foundation and the MariaDB Corporation. Please read the CREDITS file for details about the MariaDB Foundation, and who is developing MariaDB.

MariaDB is developed by many of the original developers of MySQL who now work for the MariaDB Corporation, the MariaDB Foundation and by many people in the community.

MySQL, which is the base of MariaDB, is a product and trademark of Oracle Corporation, Inc. For a list of developers and other contributors, see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors.

A description of the MariaDB project and a manual can be found at:

https://mariadb.org

https://mariadb.com/kb/en/

https://mariadb.com/kb/en/mariadb-vs-mysql-features/

https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

https://mariadb.com/kb/en/new-and-old-releases/

Help

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss, MariaDB's Zulip instance, https://mariadb.zulipchat.com/

Live QA for beginner contributors

MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip. From 8:00 to 10:00 UTC on Mondays, and 10:00 to 12:00 UTC on Thursdays, anyone can ask any questions theyd like, and a live developer will be available to assist.

New contributors can ask questions any time, but we will provide immediate feedback during that interval.

Licensing


NOTE:

MariaDB is specifically available only under version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.) This is inherited from MySQL. Please see the README file in the MySQL distribution for more information.

License information can be found in the COPYING file. Third party license information can be found in the THIRDPARTY file.


Bug Reports

Bug and/or error reports regarding MariaDB should be submitted at: https://jira.mariadb.org

For reporting security vulnerabilities, see our security-policy.

The code for MariaDB, including all revision history, can be found at: https://github.com/MariaDB/server