[MDEV-5611] crash with self referencing virtual column Created: 2014-02-04  Updated: 2014-02-10  Resolved: 2014-02-10

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.3.12, 5.5.35, 10.0.7
Fix Version/s: 5.5.36, 10.0.9, 5.3.13

Type: Bug Priority: Major
Reporter: sbester1 Assignee: Igor Babaev
Resolution: Fixed Votes: 0
Labels: None
Environment:

Win x64



 Description   

Description:
---------------

Version: '10.0.7-MariaDB'  mariadb.org binary distribution
mysqld.exe!bitmap_fast_test_and_set()[my_bitmap.c:235]
mysqld.exe!TABLE::mark_virtual_col()[table.cc:5871]
mysqld.exe!Item_field::update_table_bitmaps()[item.h:2107]
mysqld.exe!Item_func_isnull::update_used_tables()[item_cmpfunc.h:1390]
mysqld.exe!Item_func::fix_fields()[item_func.cc:230]
mysqld.exe!fix_vcol_expr()[table.cc:2281]
mysqld.exe!unpack_vcol_info_from_frm()[table.cc:2466]
mysqld.exe!open_table_from_share()[table.cc:2723]
mysqld.exe!ha_create_table()[handler.cc:4591]
mysqld.exe!rea_create_table()[unireg.cc:409]
mysqld.exe!create_table_impl()[sql_table.cc:4643]
mysqld.exe!mysql_create_table_no_lock()[sql_table.cc:4753]
mysqld.exe!mysql_create_table()[sql_table.cc:4794]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3025]
mysqld.exe!mysql_parse()[sql_parse.cc:6399]
mysqld.exe!dispatch_command()[sql_parse.cc:1299]
mysqld.exe!do_command()[sql_parse.cc:1000]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:233]
mysqld.exe!io_completion_callback()[threadpool_win.cc:568]

How to repeat:
------------------

drop table if exists t1;
create table `t1` (`a` int, `b` int as (`b` is null) virtual) engine=innodb;



 Comments   
Comment by Elena Stepanova [ 2014-02-04 ]

Thank you, Shane.

Comment by Igor Babaev [ 2014-02-10 ]

The patch for the bug was pushed into the 5.3 tree.

Generated at Thu Feb 08 07:05:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.