Bug #44027 | mysql server chash during update with join | ||
---|---|---|---|
Submitted: | 1 Apr 2009 23:02 | Modified: | 27 Jul 2009 15:33 |
Reporter: | Nikolai Ikhalainen | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.1.33 | OS: | Any (tested on ubuntu server & solaris 10) |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, join, MYSQL SERVER, UPDATE |
[1 Apr 2009 23:02]
Nikolai Ikhalainen
[1 Apr 2009 23:10]
Nikolai Ikhalainen
I'm using intel c compiled version for linux mysql-5.1.33-linux-x86_64-icc-glibc23.tar.gz and mysql-5.1.33-solaris10-x86_64.tar.gz this one for solaris 10
[2 Apr 2009 5:30]
Sveta Smirnova
Thank you for the report. Please provide output of SHOW CREATE TABLE for all underlying tables: film_blok_rating, content, shop_price_relation
[2 Apr 2009 8:25]
Nikolai Ikhalainen
CREATE TABLE `film_blok_rating` ( `id_film` int(5) unsigned NOT NULL, `status` enum('no','ok') NOT NULL, `note` varchar(50) NOT NULL, PRIMARY KEY (`id_film`), KEY `status` (`status`), KEY `note` (`note`) ) ENGINE=InnoDB DEFAULT CHARSET=cp1251 CREATE TABLE `content` ( `id_content` varchar(10) NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL DEFAULT '', `rus` varchar(100) NOT NULL DEFAULT '', `find_name` varchar(4000) NOT NULL, `name_word` tinyint(2) unsigned NOT NULL DEFAULT '0', `rus_word` tinyint(2) unsigned NOT NULL DEFAULT '0', `year` int(3) NOT NULL DEFAULT '0', `serial_year` varchar(10) NOT NULL DEFAULT '', `color` enum('','Black and White','Color') NOT NULL DEFAULT '', `link_pic` varchar(100) NOT NULL DEFAULT '', `image` varchar(100) NOT NULL DEFAULT '', `budget` int(10) NOT NULL DEFAULT '0', `first_box` int(10) NOT NULL DEFAULT '0', `gross_box` int(10) NOT NULL DEFAULT '0', `currency` varchar(30) NOT NULL DEFAULT '', `rating` int(10) unsigned NOT NULL DEFAULT '0', `view` enum('ok','no') NOT NULL DEFAULT 'ok', `id_film` int(3) unsigned NOT NULL AUTO_INCREMENT, `search_rating` int(3) NOT NULL DEFAULT '0', `vote` int(5) NOT NULL DEFAULT '0', `num_vote` int(5) NOT NULL DEFAULT '0', `ur_rating` float(6,3) unsigned NOT NULL, `release` varchar(10) NOT NULL DEFAULT '', `release_location` varchar(255) NOT NULL, `release_location_rus` varchar(255) NOT NULL, `id_rel` int(5) NOT NULL DEFAULT '0', `russian_film` enum('','ok') NOT NULL DEFAULT '', `type` varchar(20) NOT NULL DEFAULT '', `flag` set('','wallpaper','poster','kadr','trailer','site','sinopsys','info','product','news','review','events','cert','hits','award') NOT NULL, `is_product` tinyint(1) unsigned DEFAULT NULL, `is_wallpaper` tinyint(1) unsigned DEFAULT NULL, `is_kadr` tinyint(1) unsigned DEFAULT NULL, `is_poster` tinyint(1) unsigned DEFAULT NULL, `is_trailer` tinyint(1) unsigned DEFAULT NULL, `stop_flag` varchar(255) NOT NULL DEFAULT '', `mult` enum('','ok') NOT NULL, `short` enum('','ok') NOT NULL, PRIMARY KEY (`id_content`), UNIQUE KEY `id_film` (`id_film`), KEY `year` (`year`), KEY `color` (`color`), KEY `id_rel` (`id_rel`), KEY `name_word` (`name_word`,`rus_word`), KEY `tire` (`russian_film`), KEY `is_product` (`is_product`), KEY `is_wallpaper` (`is_wallpaper`), KEY `is_kadr` (`is_kadr`), KEY `is_poster` (`is_poster`), KEY `is_trailer` (`is_trailer`), KEY `name_word_2` (`name_word`), KEY `type` (`type`), KEY `film_rating_idx` (`rating`,`is_poster`,`id_film`), KEY `mult` (`mult`), KEY `short` (`short`), KEY `rus` (`rus`), KEY `name` (`name`), KEY `ur_rating` (`ur_rating`) ) ENGINE=InnoDB AUTO_INCREMENT=453171 DEFAULT CHARSET=cp1251 COMMENT='film content' 1 row in set (0.00 sec) *************************** 1. row *************************** Table: shop_price_relation Create Table: CREATE TABLE `shop_price_relation` ( `product_id` int(5) unsigned NOT NULL AUTO_INCREMENT, `id_content` varchar(10) NOT NULL DEFAULT '', `status` enum('','new','disable','killed') NOT NULL DEFAULT '', `price` float(7,2) unsigned NOT NULL DEFAULT '0.00', `old_price` float(7,2) unsigned NOT NULL DEFAULT '0.00', `real_price` float(7,2) NOT NULL DEFAULT '0.00', `discount_price` float(7,2) unsigned NOT NULL DEFAULT '0.00', `discount_id` int(5) unsigned NOT NULL DEFAULT '0', `product_type_id` int(5) unsigned NOT NULL DEFAULT '0', `quantity` int(5) NOT NULL DEFAULT '0', `land_id` int(5) unsigned NOT NULL DEFAULT '0', `land_pic` varchar(100) NOT NULL DEFAULT '', `maker` varchar(255) NOT NULL DEFAULT '', `num_order` int(5) unsigned NOT NULL DEFAULT '0', `is_ban` tinyint(1) unsigned NOT NULL DEFAULT '0', `stop_price` enum('','on') NOT NULL DEFAULT '', `ozon_id` int(5) unsigned NOT NULL DEFAULT '0', `make_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `flag` enum('','new','pred') NOT NULL, `parse` enum('','ok','process') NOT NULL, `xml_status` enum('','ok') NOT NULL, `anotation` text NOT NULL, `remains` varchar(100) NOT NULL, `orig_pic` varchar(256) NOT NULL, `soundtrack_show` int(1) NOT NULL DEFAULT '0', PRIMARY KEY (`product_id`), UNIQUE KEY `id_content` (`id_content`,`product_type_id`,`ozon_id`), KEY `product_type_id` (`product_type_id`), KEY `quantity` (`quantity`), KEY `is_ban` (`is_ban`), KEY `stop_price` (`stop_price`), KEY `discount_id` (`discount_id`), KEY `status` (`status`), KEY `flag` (`flag`), KEY `parse` (`parse`), KEY `id_content_2` (`id_content`), KEY `ozon_id` (`ozon_id`), KEY `xml_status` (`xml_status`), KEY `orig_pic` (`orig_pic`) ) ENGINE=InnoDB AUTO_INCREMENT=52230 DEFAULT CHARSET=cp1251
[26 Jul 2009 9:20]
Valeriy Kravchuk
Please, try to repeat with a newer version, 5.1.36, and inform about the results.
[27 Jul 2009 15:29]
Nikolai Ikhalainen
can't repeat
[27 Jul 2009 15:33]
Sveta Smirnova
Thank you for the feedback. Closed as "Can't repeat" because last comment.