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
Sergei Golubchik
w 4.4
PranavKTiwari
MDEV-36896 Assertion 'marked_for_read()' failed in virtual my_time_t Field_timestamp0::get_timestamp(const uchar*, ulong*) const.

Problem:
SELECT on a table with a TIMESTAMP column and a virtual column
expression containing a field reference crashes with assertion
marked_for_read() in Field_timestamp0::get_timestamp.

Cause:
convert_item_for_comparison() physically evaluates the subject item
via Datetime dt(thd, subject, ...) to attempt a TIMESTAMP vs DATETIME
optimization. During vcol_fix_expr() at open_table() time,
used_tables_cache is not yet propagated up the item tree, causing
const_item() to return true incorrectly for a non-constant expression
containing a field reference. The evaluation then reads Field_timestamp0
before read bitmaps are initialized, violating marked_for_read().

Fix:
Add find_field_processor() to the Item base class, overridden in
Item_field to return true. Guard convert_item_for_comparison() with
a walk() check to skip physical evaluation if the subject subtree
contains any field reference.
Sergei Golubchik
w 4.3
Sergei Golubchik
w 6.3
Sergei Golubchik
w 4.6
Sergei Golubchik
fix fulltext.test to break ties (rows with the same relevance)
Sergei Golubchik
w 5.3
Sergei Golubchik
cleanup: const void* in TREE
Sergei Golubchik
w 4.1
Sergei Golubchik
w2
Sergei Golubchik
cleanup: FT_INFO, please -> handler.h

Replace 26-year-old C-and-preprocesor-tricks FT_INFO API with
C++ classes and inheritance, as all engines are C++ anyway.

Rename classes and variables accordingly.
Sergei Golubchik
ft_json ft parser
Sergei Golubchik
w 4
Sergei Golubchik
temporarily remove failing tests
Sergei Golubchik
account for ignored hlindexes (test?)
Sergei Golubchik
cleanup: remove obsolete code
Sergei Golubchik
w 6.0
Sergei Golubchik
cleanup: change mhnsw* code to use init/next not first/next api
Sergei Golubchik
w 4.7
PranavKTiwari
MDEV-36896 Assertion 'marked_for_read()' failed in virtual my_time_t Field_timestamp0::get_timestamp(const uchar*, ulong*) const.

Problem:
SELECT on a table with a TIMESTAMP column and a virtual column
expression containing a field reference crashes with assertion
marked_for_read() in Field_timestamp0::get_timestamp.

Cause:
convert_item_for_comparison() physically evaluates the subject item
via Datetime dt(thd, subject, ...) to attempt a TIMESTAMP vs DATETIME
optimization. During vcol_fix_expr() at open_table() time,
used_tables_cache is not yet propagated up the item tree, causing
const_item() to return true incorrectly for a non-constant expression
containing a field reference. The evaluation then reads Field_timestamp0
before read bitmaps are initialized, violating marked_for_read().

Fix:
Add find_field_processor() to the Item base class, overridden in
Item_field to return true. Guard convert_item_for_comparison() with
a walk() check to skip physical evaluation if the subject subtree
contains any field reference.
Sergei Golubchik
w 6.6 EXPLAIN
Sergei Golubchik
Tree<> - a typesafe wrapper for TREE
Sergei Golubchik
w 6.4
Sergei Golubchik
cleanup: spaces, formatting
PranavKTiwari
MDEV-36896 : Assertion 'marked_for_read()' failed in virtual String *Field_varstring::val_str(String *, String *)

Problem:
Executing queries that require virtual/generated column evaluation during filesort trigger sdebug assertions due to missing columns in read_set.

Cause:
find_all_keys() temporarily assigns TABLE::tmp_set as both read_set and write_set. Later, TABLE::update_virtual_field() clears tmp_set before evaluating virtual column dependencies.

Since all three pointers reference the same bitmap, clearing tmp_set also clears the active column maps, causing required columns to be missing during execution.

Fix:
Remove the bitmap_clear_all(&tmp_set) call from TABLE::update_virtual_field(). The dependency walk populates the required bits for virtual column evaluation, and clearing the shared bitmap can unintentionally invalidate the active read_set/write_set.
PranavKTiwari
MDEV-36896 : Assertion 'marked_for_read()' failed in virtual String *Field_varstring::val_str(String *, String *)

Problem:
Executing queries that require virtual/generated column evaluation during filesort trigger sdebug assertions due to missing columns in read_set.

Cause:
find_all_keys() temporarily assigns TABLE::tmp_set as both read_set and write_set. Later, TABLE::update_virtual_field() clears tmp_set before evaluating virtual column dependencies.

Since all three pointers reference the same bitmap, clearing tmp_set also clears the active column maps, causing required columns to be missing during execution.

Fix:
Remove the bitmap_clear_all(&tmp_set) call from TABLE::update_virtual_field(). The dependency walk populates the required bits for virtual column evaluation, and clearing the shared bitmap can unintentionally invalidate the active read_set/write_set.
Sergei Golubchik
w 6.1
Sergei Golubchik
w3
Sergei Golubchik
w 4.5
Kristian Nielsen
Fix minor replication docs review comment

Signed-off-by: Kristian Nielsen <[email protected]>
Sergei Golubchik
w 5.1
Sergei Golubchik
w 5.2
Sergei Golubchik
w 5.4
Sergei Golubchik
cleanup: remove redundant function
Sergei Golubchik
w 6.5 copy more tests over
Sergei Golubchik
w 4.8
Sergei Golubchik
w1
Sergei Golubchik
w
Sergei Golubchik
w 4.2
Sergei Golubchik
a.test: fix encoding