· 9 years ago · Jan 30, 2017, 02:20 PM
1 /usr/libexec/mysqld, Version: 10.1.20-MariaDB (MariaDB Server). started with:
2 Tcp port: 0 Unix socket: /var/lib/mysql/mysql.sock
3 Time Id Command Argument
4 170130 13:48:10 2 Connect magento2user@localhost as anonymous on magento2db
5 2 Query SET SQL_MODE=''
6 2 Query SET time_zone = '+00:00'
7 2 Query SET NAMES utf8
8 2 Query SELECT `flag`.* FROM `flag` WHERE (`flag`.`flag_code`='staging')
9 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='11') ORDER BY `sort_order` ASC
10 2 Query SELECT `store_website`.* FROM `store_website` WHERE (`store_website`.`website_id`='1')
11 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='4') ORDER BY `sort_order` ASC
12 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='5') ORDER BY `sort_order` ASC
13 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='7') ORDER BY `sort_order` ASC
14 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='9') ORDER BY `sort_order` ASC
15 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='8') ORDER BY `sort_order` ASC
16 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='15') ORDER BY `sort_order` ASC
17 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='11') ORDER BY `sort_order` ASC
18 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='12') ORDER BY `sort_order` ASC
19 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='10') ORDER BY `sort_order` ASC
20 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='13') ORDER BY `sort_order` ASC
21 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='14') ORDER BY `sort_order` ASC
22 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='18') ORDER BY `sort_order` ASC
23 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='19') ORDER BY `sort_order` ASC
24 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='16') ORDER BY `sort_order` ASC
25 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='17') ORDER BY `sort_order` ASC
26 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='20') ORDER BY `sort_order` ASC
27 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='21') ORDER BY `sort_order` ASC
28 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='22') ORDER BY `sort_order` ASC
29 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='23') ORDER BY `sort_order` ASC
30 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='24') ORDER BY `sort_order` ASC
31 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='25') ORDER BY `sort_order` ASC
32 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='26') ORDER BY `sort_order` ASC
33 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='27') ORDER BY `sort_order` ASC
34 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='28') ORDER BY `sort_order` ASC
35 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='29') ORDER BY `sort_order` ASC
36 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='30') ORDER BY `sort_order` ASC
37 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='32') ORDER BY `sort_order` ASC
38 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='35') ORDER BY `sort_order` ASC
39 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='34') ORDER BY `sort_order` ASC
40 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='31') ORDER BY `sort_order` ASC
41 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='33') ORDER BY `sort_order` ASC
42 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='36') ORDER BY `sort_order` ASC
43 2 Query SELECT `store`.* FROM `store` WHERE (`store`.`store_id`='6') ORDER BY `sort_order` ASC
44 2 Query SELECT `flag`.* FROM `flag` WHERE (`flag`.`flag_code`='staging')
45 2 Query SELECT COUNT(*) FROM `catalog_category_entity` AS `e`
46 INNER JOIN `catalog_category_entity_varchar` AS `at_name_default` ON (`at_name_default`.`row_id` = `e`.`row_id`) AND (`at_name_default`.`attribute_id` = '45') AND `at_name_default`.`store_id` = 0
47 LEFT JOIN `catalog_category_entity_varchar` AS `at_name` ON (`at_name`.`row_id` = `e`.`row_id`) AND (`at_name`.`attribute_id` = '45') AND (`at_name`.`store_id` = 11) WHERE (IF(at_name.value_id > 0, at_name.value, at_name_default.value) = 'Testtesttest6087028') AND (e.created_in <= 1) AND (e.updated_in > 1)
48 2 Query SELECT `store_group`.* FROM `store_group` WHERE (`store_group`.`group_id`='1')
49 170130 13:48:11 2 Query SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '2') AND (t.created_in <= 1) AND (t.updated_in > 1)
50 2 Query (SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
51 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_int` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
52 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_text` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
53 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
54 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
55 )
56 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '2') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1) LIMIT 1
57 2 Query START TRANSACTION
58 2 Query SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '2') AND (t.created_in <= 1) AND (t.updated_in > 1)
59 2 Query (SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
60 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_int` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
61 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_text` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
62 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
63 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
64 )
65 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '2') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1) LIMIT 1
66 2 Query SELECT MAX(`position`) FROM `catalog_category_entity` WHERE (`path` LIKE '1/2/%') AND (`level` = '2') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
67 2 Query UPDATE `catalog_category_entity` SET `children_count` = children_count+1 WHERE (entity_id IN('1', '2'))
68 2 Query INSERT INTO `sequence_catalog_category` () VALUES ()
69 2 Query INSERT INTO `catalog_category_entity` (`row_id`, `entity_id`, `created_in`, `updated_in`, `attribute_set_id`, `parent_id`, `path`, `position`, `level`, `children_count`) VALUES (NULL, '4', '1', '2147483647', '3', '2', '1/2/', '2', '2', '0')
70 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '45', 'Testtesttest6087028', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
71 2 Query INSERT INTO `catalog_category_entity_int` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '46', '1', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
72 2 Query INSERT INTO `catalog_category_entity_text` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '47', 'description1485784091', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
73 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '49', 'meta_title_78900371485784091', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
74 2 Query INSERT INTO `catalog_category_entity_text` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '50', 'meta_keywords34669961485784091', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
75 2 Query INSERT INTO `catalog_category_entity_text` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '51', 'meta_description12799881485784091', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
76 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '52', 'PRODUCTS', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
77 2 Query INSERT INTO `catalog_category_entity_int` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '54', '1', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
78 2 Query INSERT INTO `catalog_category_entity_int` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '69', '1', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
79 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '122', 'url_key_5420668', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
80 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '123', 'url_key_5420668', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
81 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '177', 'foxseo_heading25415101485784091', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
82 2 Query UPDATE `catalog_category_entity` SET `path` = '1/2/4' WHERE (entity_id = '4')
83 3 Connect magento2user@localhost as anonymous on magento2db
84 3 Query SET SQL_MODE=''
85 3 Query SET time_zone = '+00:00'
86 3 Query SET NAMES utf8
87 3 Query SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`store_id` IN (11)) AND (`entity_id` IN ('4')) AND (`entity_type` IN ('category'))
88 3 Query SELECT `e`.*, `cat_index`.`position` AS `cat_index_position` FROM `catalog_product_entity` AS `e`
89 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=11 AND cat_index.category_id='4' WHERE (e.created_in <= 1) AND (e.updated_in > 1)
90 2 Query SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('4')) AND (`store_id` IN (11)) AND (`entity_type` IN ('category'))
91 3 Query DELETE `url_rewrite` FROM `url_rewrite` WHERE (`entity_id` IN ('4')) AND (`store_id` IN (11)) AND (`entity_type` IN ('category'))
92 3 Query INSERT INTO `url_rewrite` (`redirect_type`,`is_autogenerated`,`metadata`,`description`,`store_id`,`entity_type`,`entity_id`,`request_path`,`target_path`) VALUES ('0', '1', NULL, NULL, '11', 'category', '4', 'url_key_5420668', 'catalog/category/view/id/4')
93 2 Query COMMIT
94 3 Query SELECT `mview_state`.* FROM `mview_state` WHERE (`mview_state`.`view_id`='catalog_category_flat')
95 3 Query SELECT `indexer_state`.* FROM `indexer_state` WHERE (`indexer_state`.`indexer_id`='catalog_category_flat')
96 3 Query SELECT `eav_attribute`.* FROM `eav_entity_type`
97 INNER JOIN `eav_attribute` ON eav_attribute.entity_type_id = eav_entity_type.entity_type_id WHERE (eav_entity_type.entity_type_code = 'catalog_category')
98 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_11'
99 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
100 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
101 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
102 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 11 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '11'))
103 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
104 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
105 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 11 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '11'))
106 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
107 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
108 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 11 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '11'))
109 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
110 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
111 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 11 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '11'))
112 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
113 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
114 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 11 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '11'))
115 2 Query SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '4') AND (t.created_in <= 1) AND (t.updated_in > 1)
116 2 Query (SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (row_id = '4') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
117 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_int` AS `t` WHERE (row_id = '4') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
118 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_text` AS `t` WHERE (row_id = '4') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
119 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (row_id = '4') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
120 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (row_id = '4') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
121 )
122 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '4') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1) LIMIT 1
123 3 Query INSERT INTO `catalog_category_flat_store_11` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '11', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
124 3 Query DELETE `cf` FROM `catalog_category_flat_store_11` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
125 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_4'
126 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
127 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
128 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
129 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 4 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '4'))
130 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
131 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
132 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 4 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '4'))
133 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
134 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
135 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 4 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '4'))
136 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
137 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
138 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 4 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '4'))
139 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
140 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
141 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 4 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '4'))
142 3 Query INSERT INTO `catalog_category_flat_store_4` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '4', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
143 3 Query DELETE `cf` FROM `catalog_category_flat_store_4` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
144 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_5'
145 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
146 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
147 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
148 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 5 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '5'))
149 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
150 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
151 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 5 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '5'))
152 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
153 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
154 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 5 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '5'))
155 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
156 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
157 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 5 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '5'))
158 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
159 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
160 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 5 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '5'))
161 3 Query INSERT INTO `catalog_category_flat_store_5` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '5', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
162 3 Query DELETE `cf` FROM `catalog_category_flat_store_5` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
163 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_7'
164 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
165 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
166 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
167 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 7 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '7'))
168 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
169 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
170 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 7 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '7'))
171 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
172 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
173 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 7 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '7'))
174 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
175 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
176 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 7 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '7'))
177 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
178 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
179 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 7 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '7'))
180 3 Query INSERT INTO `catalog_category_flat_store_7` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '7', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
181 3 Query DELETE `cf` FROM `catalog_category_flat_store_7` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
182 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_9'
183 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
184 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
185 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
186 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 9 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '9'))
187 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
188 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
189 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 9 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '9'))
190 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
191 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
192 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 9 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '9'))
193 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
194 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
195 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 9 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '9'))
196 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
197 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
198 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 9 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '9'))
199 3 Query INSERT INTO `catalog_category_flat_store_9` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '9', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
200 3 Query DELETE `cf` FROM `catalog_category_flat_store_9` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
201 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_8'
202 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
203 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
204 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
205 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 8 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '8'))
206 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
207 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
208 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 8 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '8'))
209 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
210 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
211 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 8 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '8'))
212 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
213 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
214 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 8 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '8'))
215 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
216 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
217 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 8 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '8'))
218 3 Query INSERT INTO `catalog_category_flat_store_8` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '8', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
219 3 Query DELETE `cf` FROM `catalog_category_flat_store_8` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
220 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_15'
221 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
222 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
223 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
224 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 15 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '15'))
225 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
226 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
227 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 15 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '15'))
228 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
229 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
230 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 15 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '15'))
231 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
232 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
233 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 15 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '15'))
234 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
235 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
236 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 15 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '15'))
237 3 Query INSERT INTO `catalog_category_flat_store_15` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '15', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
238 3 Query DELETE `cf` FROM `catalog_category_flat_store_15` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
239 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_12'
240 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
241 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
242 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
243 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 12 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '12'))
244 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
245 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
246 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 12 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '12'))
247 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
248 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
249 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 12 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '12'))
250 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
251 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
252 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 12 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '12'))
253 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
254 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
255 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 12 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '12'))
256 3 Query INSERT INTO `catalog_category_flat_store_12` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '12', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
257 3 Query DELETE `cf` FROM `catalog_category_flat_store_12` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
258 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_10'
259 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
260 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
261 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
262 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 10 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '10'))
263 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
264 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
265 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 10 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '10'))
266 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
267 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
268 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 10 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '10'))
269 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
270 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
271 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 10 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '10'))
272 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
273 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
274 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 10 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '10'))
275 3 Query INSERT INTO `catalog_category_flat_store_10` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
276 3 Query DELETE `cf` FROM `catalog_category_flat_store_10` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
277 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_13'
278 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
279 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
280 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
281 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 13 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '13'))
282 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
283 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
284 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 13 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '13'))
285 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
286 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
287 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 13 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '13'))
288 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
289 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
290 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 13 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '13'))
291 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
292 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
293 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 13 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '13'))
294 3 Query INSERT INTO `catalog_category_flat_store_13` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '13', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
295 3 Query DELETE `cf` FROM `catalog_category_flat_store_13` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
296 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_14'
297 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
298 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
299 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
300 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 14 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '14'))
301 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
302 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
303 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 14 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '14'))
304 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
305 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
306 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 14 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '14'))
307 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
308 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
309 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 14 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '14'))
310 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
311 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
312 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 14 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '14'))
313 3 Query INSERT INTO `catalog_category_flat_store_14` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '14', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
314 3 Query DELETE `cf` FROM `catalog_category_flat_store_14` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
315 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_18'
316 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
317 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
318 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
319 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 18 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '18'))
320 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
321 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
322 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 18 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '18'))
323 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
324 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
325 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 18 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '18'))
326 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
327 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
328 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 18 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '18'))
329 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
330 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
331 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 18 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '18'))
332 3 Query INSERT INTO `catalog_category_flat_store_18` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '18', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
333 3 Query DELETE `cf` FROM `catalog_category_flat_store_18` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
334 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_19'
335 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
336 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
337 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
338 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 19 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '19'))
339 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
340 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
341 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 19 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '19'))
342 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
343 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
344 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 19 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '19'))
345 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
346 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
347 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 19 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '19'))
348 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
349 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
350 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 19 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '19'))
351 3 Query INSERT INTO `catalog_category_flat_store_19` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '19', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
352 3 Query DELETE `cf` FROM `catalog_category_flat_store_19` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
353 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_16'
354 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
355 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
356 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
357 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 16 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '16'))
358 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
359 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
360 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 16 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '16'))
361 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
362 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
363 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 16 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '16'))
364 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
365 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
366 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 16 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '16'))
367 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
368 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
369 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 16 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '16'))
370 3 Query INSERT INTO `catalog_category_flat_store_16` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '16', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
371 3 Query DELETE `cf` FROM `catalog_category_flat_store_16` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
372 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_17'
373 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
374 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
375 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
376 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 17 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '17'))
377 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
378 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
379 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 17 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '17'))
380 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
381 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
382 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 17 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '17'))
383 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
384 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
385 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 17 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '17'))
386 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
387 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
388 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 17 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '17'))
389 3 Query INSERT INTO `catalog_category_flat_store_17` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
390 3 Query DELETE `cf` FROM `catalog_category_flat_store_17` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
391 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_20'
392 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
393 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
394 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
395 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 20 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '20'))
396 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
397 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
398 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 20 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '20'))
399 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
400 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
401 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 20 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '20'))
402 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
403 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
404 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 20 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '20'))
405 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
406 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
407 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 20 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '20'))
408 3 Query INSERT INTO `catalog_category_flat_store_20` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '20', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
409 3 Query DELETE `cf` FROM `catalog_category_flat_store_20` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
410 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_21'
411 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
412 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
413 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
414 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 21 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '21'))
415 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
416 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
417 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 21 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '21'))
418 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
419 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
420 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 21 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '21'))
421 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
422 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
423 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 21 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '21'))
424 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
425 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
426 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 21 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '21'))
427 3 Query INSERT INTO `catalog_category_flat_store_21` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '21', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
428 3 Query DELETE `cf` FROM `catalog_category_flat_store_21` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
429 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_22'
430 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
431 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
432 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
433 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 22 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '22'))
434 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
435 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
436 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 22 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '22'))
437 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
438 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
439 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 22 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '22'))
440 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
441 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
442 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 22 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '22'))
443 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
444 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
445 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 22 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '22'))
446 3 Query INSERT INTO `catalog_category_flat_store_22` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '22', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
447 3 Query DELETE `cf` FROM `catalog_category_flat_store_22` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
448 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_23'
449 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
450 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
451 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
452 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 23 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '23'))
453 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
454 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
455 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 23 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '23'))
456 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
457 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
458 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 23 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '23'))
459 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
460 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
461 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 23 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '23'))
462 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
463 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
464 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 23 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '23'))
465 3 Query INSERT INTO `catalog_category_flat_store_23` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '23', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
466 3 Query DELETE `cf` FROM `catalog_category_flat_store_23` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
467 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_24'
468 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
469 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
470 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
471 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 24 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '24'))
472 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
473 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
474 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 24 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '24'))
475 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
476 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
477 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 24 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '24'))
478 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
479 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
480 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 24 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '24'))
481 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
482 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
483 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 24 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '24'))
484 3 Query INSERT INTO `catalog_category_flat_store_24` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '24', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
485 3 Query DELETE `cf` FROM `catalog_category_flat_store_24` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
486 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_25'
487 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
488 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
489 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
490 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 25 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '25'))
491 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
492 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
493 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 25 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '25'))
494 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
495 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
496 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 25 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '25'))
497 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
498 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
499 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 25 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '25'))
500 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
501 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
502 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 25 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '25'))
503 3 Query INSERT INTO `catalog_category_flat_store_25` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '25', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
504 3 Query DELETE `cf` FROM `catalog_category_flat_store_25` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
505 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_26'
506 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
507 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
508 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
509 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 26 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '26'))
510 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
511 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
512 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 26 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '26'))
513 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
514 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
515 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 26 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '26'))
516 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
517 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
518 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 26 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '26'))
519 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
520 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
521 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 26 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '26'))
522 3 Query INSERT INTO `catalog_category_flat_store_26` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '26', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
523 3 Query DELETE `cf` FROM `catalog_category_flat_store_26` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
524 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_27'
525 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
526 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
527 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
528 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 27 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '27'))
529 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
530 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
531 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 27 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '27'))
532 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
533 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
534 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 27 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '27'))
535 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
536 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
537 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 27 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '27'))
538 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
539 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
540 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 27 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '27'))
541 3 Query INSERT INTO `catalog_category_flat_store_27` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '27', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
542 3 Query DELETE `cf` FROM `catalog_category_flat_store_27` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
543 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_28'
544 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
545 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
546 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
547 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 28 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '28'))
548 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
549 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
550 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 28 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '28'))
551 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
552 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
553 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 28 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '28'))
554 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
555 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
556 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 28 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '28'))
557 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
558 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
559 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 28 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '28'))
560 3 Query INSERT INTO `catalog_category_flat_store_28` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '28', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
561 3 Query DELETE `cf` FROM `catalog_category_flat_store_28` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
562 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_29'
563 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
564 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
565 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
566 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 29 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '29'))
567 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
568 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
569 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 29 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '29'))
570 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
571 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
572 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 29 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '29'))
573 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
574 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
575 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 29 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '29'))
576 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
577 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
578 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 29 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '29'))
579 3 Query INSERT INTO `catalog_category_flat_store_29` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '29', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
580 3 Query DELETE `cf` FROM `catalog_category_flat_store_29` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
581 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_30'
582 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
583 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
584 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
585 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 30 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '30'))
586 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
587 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
588 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 30 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '30'))
589 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
590 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
591 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 30 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '30'))
592 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
593 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
594 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 30 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '30'))
595 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
596 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
597 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 30 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '30'))
598 3 Query INSERT INTO `catalog_category_flat_store_30` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
599 3 Query DELETE `cf` FROM `catalog_category_flat_store_30` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
600 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_32'
601 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
602 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
603 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
604 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 32 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '32'))
605 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
606 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
607 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 32 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '32'))
608 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
609 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
610 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 32 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '32'))
611 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
612 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
613 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 32 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '32'))
614 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
615 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
616 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 32 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '32'))
617 3 Query INSERT INTO `catalog_category_flat_store_32` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '32', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
618 3 Query DELETE `cf` FROM `catalog_category_flat_store_32` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
619 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_35'
620 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
621 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
622 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
623 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 35 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '35'))
624 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
625 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
626 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 35 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '35'))
627 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
628 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
629 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 35 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '35'))
630 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
631 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
632 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 35 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '35'))
633 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
634 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
635 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 35 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '35'))
636 3 Query INSERT INTO `catalog_category_flat_store_35` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '35', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
637 3 Query DELETE `cf` FROM `catalog_category_flat_store_35` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
638 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_34'
639 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
640 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
641 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
642 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 34 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '34'))
643 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
644 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
645 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 34 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '34'))
646 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
647 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
648 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 34 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '34'))
649 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
650 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
651 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 34 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '34'))
652 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
653 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
654 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 34 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '34'))
655 3 Query INSERT INTO `catalog_category_flat_store_34` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '34', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
656 3 Query DELETE `cf` FROM `catalog_category_flat_store_34` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
657 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_31'
658 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
659 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
660 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
661 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 31 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '31'))
662 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
663 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
664 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 31 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '31'))
665 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
666 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
667 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 31 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '31'))
668 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
669 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
670 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 31 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '31'))
671 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
672 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
673 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 31 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '31'))
674 3 Query INSERT INTO `catalog_category_flat_store_31` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '31', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
675 3 Query DELETE `cf` FROM `catalog_category_flat_store_31` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
676 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_33'
677 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
678 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
679 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
680 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 33 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '33'))
681 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
682 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
683 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 33 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '33'))
684 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
685 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
686 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 33 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '33'))
687 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
688 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
689 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 33 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '33'))
690 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
691 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
692 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 33 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '33'))
693 3 Query INSERT INTO `catalog_category_flat_store_33` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '33', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
694 3 Query DELETE `cf` FROM `catalog_category_flat_store_33` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
695 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_36'
696 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
697 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
698 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
699 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 36 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '36'))
700 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
701 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
702 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 36 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '36'))
703 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
704 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
705 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 36 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '36'))
706 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
707 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
708 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 36 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '36'))
709 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
710 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
711 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 36 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '36'))
712 3 Query INSERT INTO `catalog_category_flat_store_36` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
713 3 Query DELETE `cf` FROM `catalog_category_flat_store_36` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
714 3 Query SHOW TABLE STATUS LIKE 'catalog_category_flat_store_6'
715 3 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (path = '1' OR path = '1/2' OR path like '1/2/%') AND (entity_id IN ('4')) AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
716 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_varchar` AS `def`
717 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
718 LEFT JOIN `catalog_category_entity_varchar` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 6 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '6'))
719 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_int` AS `def`
720 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
721 LEFT JOIN `catalog_category_entity_int` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 6 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '6'))
722 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_decimal` AS `def`
723 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
724 LEFT JOIN `catalog_category_entity_decimal` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 6 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '6'))
725 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_text` AS `def`
726 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
727 LEFT JOIN `catalog_category_entity_text` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 6 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '6'))
728 3 Query SELECT `def`.`row_id`, `def`.`attribute_id`, `e`.*, IF(store.value_id > 0, `store`.`value`, `def`.`value`) AS `value` FROM `catalog_category_entity_datetime` AS `def`
729 LEFT JOIN `catalog_category_entity` AS `e` ON def.row_id = e.row_id AND (e.created_in <= 1 AND e.updated_in > 1)
730 LEFT JOIN `catalog_category_entity_datetime` AS `store` ON store.row_id = def.row_id AND store.attribute_id = def.attribute_id AND store.store_id = 6 WHERE (e.entity_id IN ('4')) AND (def.store_id IN (0, '6'))
731 3 Query INSERT INTO `catalog_category_flat_store_6` (`row_id`,`entity_id`,`created_in`,`updated_in`,`attribute_set_id`,`parent_id`,`created_at`,`updated_at`,`path`,`position`,`level`,`children_count`,`store_id`,`all_children`,`automatic_sorting`,`available_sort_by`,`children`,`custom_apply_to_products`,`custom_design`,`custom_design_from`,`custom_design_to`,`custom_layout_update`,`custom_use_parent_settings`,`default_sort_by`,`description`,`display_mode`,`filter_price_range`,`foxseo_heading`,`foxseo_metarobots`,`image`,`include_in_menu`,`is_active`,`is_anchor`,`landing_page`,`meta_description`,`meta_keywords`,`meta_title`,`name`,`page_layout`,`path_in_store`,`url_key`,`url_path`) VALUES ('4', '4', '1', '2147483647', '3', '2', '2017-01-30 13:48:11', '2017-01-30 13:48:11', '1/2/4', '2', '2', '0', '6', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'description1485784091', 'PRODUCTS', NULL, 'foxseo_heading25415101485784091', NULL, NULL, '1', '1', '1', NULL, 'meta_description12799881485784091', 'meta_keywords34669961485784091', 'meta_title_78900371485784091', 'Testtesttest6087028', NULL, NULL, 'url_key_5420668', 'url_key_5420668') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `entity_id` = VALUES(`entity_id`), `created_in` = VALUES(`created_in`), `updated_in` = VALUES(`updated_in`), `attribute_set_id` = VALUES(`attribute_set_id`), `parent_id` = VALUES(`parent_id`), `created_at` = VALUES(`created_at`), `updated_at` = VALUES(`updated_at`), `path` = VALUES(`path`), `position` = VALUES(`position`), `level` = VALUES(`level`), `children_count` = VALUES(`children_count`), `store_id` = VALUES(`store_id`), `all_children` = VALUES(`all_children`), `automatic_sorting` = VALUES(`automatic_sorting`), `available_sort_by` = VALUES(`available_sort_by`), `children` = VALUES(`children`), `custom_apply_to_products` = VALUES(`custom_apply_to_products`), `custom_design` = VALUES(`custom_design`), `custom_design_from` = VALUES(`custom_design_from`), `custom_design_to` = VALUES(`custom_design_to`), `custom_layout_update` = VALUES(`custom_layout_update`), `custom_use_parent_settings` = VALUES(`custom_use_parent_settings`), `default_sort_by` = VALUES(`default_sort_by`), `description` = VALUES(`description`), `display_mode` = VALUES(`display_mode`), `filter_price_range` = VALUES(`filter_price_range`), `foxseo_heading` = VALUES(`foxseo_heading`), `foxseo_metarobots` = VALUES(`foxseo_metarobots`), `image` = VALUES(`image`), `include_in_menu` = VALUES(`include_in_menu`), `is_active` = VALUES(`is_active`), `is_anchor` = VALUES(`is_anchor`), `landing_page` = VALUES(`landing_page`), `meta_description` = VALUES(`meta_description`), `meta_keywords` = VALUES(`meta_keywords`), `meta_title` = VALUES(`meta_title`), `name` = VALUES(`name`), `page_layout` = VALUES(`page_layout`), `path_in_store` = VALUES(`path_in_store`), `url_key` = VALUES(`url_key`), `url_path` = VALUES(`url_path`)
732 3 Query DELETE `cf` FROM `catalog_category_flat_store_6` AS `cf` WHERE (cf.path = '1' OR cf.path = '1/2' OR cf.path like '1/2/%') AND (cf.entity_id NOT IN (SELECT `ce`.`entity_id` FROM `catalog_category_entity` AS `ce` WHERE (ce.created_in <= 1) AND (ce.updated_in > 1)))
733 3 Query START TRANSACTION
734 3 Query COMMIT
735 3 Query SELECT `mview_state`.* FROM `mview_state` WHERE (`mview_state`.`view_id`='catalog_category_product')
736 3 Query SELECT `indexer_state`.* FROM `indexer_state` WHERE (`indexer_state`.`indexer_id`='catalog_category_product')
737 3 Query SELECT `catalog_category_entity`.`path` FROM `catalog_category_entity` WHERE (entity_id = '2') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
738 3 Query DELETE FROM `catalog_category_product_index` WHERE (category_id IN ('4'))
739 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
740 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
741 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
742 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
743 PRIMARY KEY (`parent_id`, `child_id`)
744 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
745 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
746 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
747 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 11 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
748 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
749 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
750 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
751 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
752 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
753 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 11
754 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
755 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 11
756 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
757 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 11 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
758 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 11 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
759 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
760 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
761 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
762 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
763 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 11
764 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
765 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 11 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
766 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
767 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
768 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
769 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
770 PRIMARY KEY (`parent_id`, `child_id`)
771 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
772 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
773 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
774 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 4 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
775 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
776 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
777 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
778 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
779 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
780 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 4
781 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
782 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 4
783 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
784 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 4 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
785 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 4 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
786 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
787 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
788 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
789 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
790 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 4
791 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
792 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 4 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
793 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
794 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
795 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
796 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
797 PRIMARY KEY (`parent_id`, `child_id`)
798 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
799 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
800 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
801 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 5 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
802 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
803 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
804 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
805 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
806 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
807 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 5
808 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
809 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 5
810 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
811 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 5 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
812 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 5 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
813 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
814 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
815 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
816 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
817 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 5
818 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
819 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 5 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
820 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
821 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
822 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
823 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
824 PRIMARY KEY (`parent_id`, `child_id`)
825 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
826 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
827 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
828 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 7 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
829 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
830 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
831 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
832 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
833 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
834 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 7
835 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
836 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 7
837 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
838 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 7 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
839 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 7 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
840 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
841 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
842 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
843 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
844 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 7
845 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
846 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 7 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
847 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
848 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
849 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
850 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
851 PRIMARY KEY (`parent_id`, `child_id`)
852 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
853 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
854 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
855 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 9 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
856 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
857 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
858 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
859 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
860 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
861 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 9
862 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
863 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 9
864 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
865 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 9 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
866 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 9 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
867 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
868 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
869 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
870 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
871 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 9
872 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
873 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 9 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
874 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
875 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
876 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
877 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
878 PRIMARY KEY (`parent_id`, `child_id`)
879 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
880 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
881 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
882 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 8 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
883 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
884 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
885 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
886 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
887 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
888 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 8
889 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
890 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 8
891 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
892 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 8 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
893 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 8 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
894 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
895 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
896 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
897 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
898 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 8
899 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
900 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 8 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
901 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
902 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
903 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
904 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
905 PRIMARY KEY (`parent_id`, `child_id`)
906 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
907 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
908 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
909 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 15 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
910 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
911 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
912 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
913 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
914 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
915 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 15
916 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
917 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 15
918 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
919 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 15 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
920 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 15 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
921 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
922 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
923 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
924 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
925 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 15
926 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
927 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 15 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
928 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
929 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
930 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
931 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
932 PRIMARY KEY (`parent_id`, `child_id`)
933 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
934 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
935 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
936 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 12 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
937 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
938 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
939 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
940 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
941 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
942 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 12
943 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
944 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 12
945 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
946 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 12 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
947 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 12 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
948 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
949 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
950 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
951 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
952 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 12
953 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
954 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 12 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
955 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
956 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
957 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
958 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
959 PRIMARY KEY (`parent_id`, `child_id`)
960 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
961 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
962 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
963 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 10 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
964 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
965 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
966 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
967 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
968 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
969 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 10
970 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
971 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 10
972 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
973 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 10 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
974 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 10 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
975 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
976 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
977 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
978 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
979 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 10
980 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
981 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 10 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
982 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
983 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
984 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
985 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
986 PRIMARY KEY (`parent_id`, `child_id`)
987 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
988 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
989 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
990 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 13 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
991 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
992 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
993 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
994 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
995 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
996 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 13
997 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
998 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 13
999 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1000 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 13 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1001 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 13 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1002 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1003 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1004 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1005 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1006 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 13
1007 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1008 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 13 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1009 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1010 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1011 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1012 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1013 PRIMARY KEY (`parent_id`, `child_id`)
1014 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1015 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1016 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1017 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 14 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1018 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1019 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1020 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1021 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1022 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1023 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 14
1024 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1025 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 14
1026 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1027 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 14 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1028 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 14 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1029 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1030 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1031 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1032 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1033 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 14
1034 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1035 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 14 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1036 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1037 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1038 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1039 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1040 PRIMARY KEY (`parent_id`, `child_id`)
1041 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1042 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1043 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1044 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 18 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1045 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1046 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1047 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1048 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1049 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1050 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 18
1051 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1052 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 18
1053 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1054 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 18 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1055 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 18 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1056 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1057 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1058 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1059 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1060 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 18
1061 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1062 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 18 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1063 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1064 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1065 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1066 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1067 PRIMARY KEY (`parent_id`, `child_id`)
1068 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1069 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1070 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1071 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 19 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1072 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1073 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1074 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1075 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1076 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1077 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 19
1078 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1079 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 19
1080 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1081 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 19 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1082 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 19 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1083 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1084 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1085 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1086 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1087 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 19
1088 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1089 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 19 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1090 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1091 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1092 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1093 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1094 PRIMARY KEY (`parent_id`, `child_id`)
1095 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1096 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1097 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1098 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 16 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1099 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1100 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1101 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1102 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1103 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1104 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 16
1105 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1106 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 16
1107 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1108 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 16 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1109 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 16 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1110 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1111 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1112 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1113 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1114 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 16
1115 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1116 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 16 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1117 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1118 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1119 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1120 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1121 PRIMARY KEY (`parent_id`, `child_id`)
1122 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1123 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1124 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1125 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 17 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1126 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1127 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1128 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1129 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1130 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1131 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 17
1132 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1133 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 17
1134 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1135 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 17 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1136 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 17 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1137 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1138 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1139 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1140 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1141 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 17
1142 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1143 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 17 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1144 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1145 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1146 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1147 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1148 PRIMARY KEY (`parent_id`, `child_id`)
1149 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1150 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1151 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1152 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 20 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1153 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1154 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1155 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1156 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1157 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1158 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 20
1159 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1160 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 20
1161 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1162 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 20 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1163 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 20 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1164 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1165 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1166 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1167 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1168 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 20
1169 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1170 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 20 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1171 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1172 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1173 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1174 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1175 PRIMARY KEY (`parent_id`, `child_id`)
1176 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1177 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1178 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1179 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 21 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1180 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1181 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1182 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1183 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1184 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1185 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 21
1186 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1187 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 21
1188 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1189 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 21 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1190 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 21 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1191 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1192 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1193 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1194 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1195 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 21
1196 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1197 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 21 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1198 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1199 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1200 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1201 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1202 PRIMARY KEY (`parent_id`, `child_id`)
1203 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1204 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1205 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1206 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 22 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1207 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1208 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1209 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1210 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1211 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1212 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 22
1213 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1214 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 22
1215 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1216 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 22 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1217 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 22 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1218 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1219 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1220 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1221 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1222 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 22
1223 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1224 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 22 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1225 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1226 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1227 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1228 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1229 PRIMARY KEY (`parent_id`, `child_id`)
1230 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1231 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1232 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1233 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 23 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1234 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1235 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1236 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1237 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1238 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1239 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 23
1240 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1241 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 23
1242 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1243 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 23 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1244 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 23 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1245 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1246 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1247 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1248 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1249 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 23
1250 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1251 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 23 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1252 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1253 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1254 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1255 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1256 PRIMARY KEY (`parent_id`, `child_id`)
1257 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1258 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1259 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1260 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 24 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1261 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1262 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1263 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1264 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1265 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1266 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 24
1267 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1268 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 24
1269 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1270 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 24 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1271 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 24 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1272 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1273 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1274 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1275 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1276 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 24
1277 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1278 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 24 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1279 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1280 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1281 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1282 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1283 PRIMARY KEY (`parent_id`, `child_id`)
1284 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1285 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1286 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1287 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 25 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1288 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1289 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1290 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1291 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1292 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1293 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 25
1294 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1295 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 25
1296 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1297 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 25 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1298 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 25 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1299 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1300 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1301 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1302 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1303 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 25
1304 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1305 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 25 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1306 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1307 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1308 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1309 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1310 PRIMARY KEY (`parent_id`, `child_id`)
1311 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1312 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1313 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1314 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 26 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1315 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1316 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1317 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1318 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1319 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1320 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 26
1321 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1322 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 26
1323 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1324 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 26 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1325 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 26 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1326 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1327 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1328 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1329 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1330 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 26
1331 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1332 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 26 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1333 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1334 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1335 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1336 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1337 PRIMARY KEY (`parent_id`, `child_id`)
1338 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1339 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1340 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1341 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 27 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1342 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1343 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1344 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1345 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1346 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1347 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 27
1348 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1349 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 27
1350 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1351 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 27 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1352 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 27 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1353 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1354 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1355 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1356 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1357 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 27
1358 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1359 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 27 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1360 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1361 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1362 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1363 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1364 PRIMARY KEY (`parent_id`, `child_id`)
1365 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1366 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1367 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1368 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 28 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1369 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1370 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1371 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1372 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1373 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1374 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 28
1375 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1376 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 28
1377 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1378 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 28 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1379 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 28 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1380 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1381 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1382 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1383 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1384 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 28
1385 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1386 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 28 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1387 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1388 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1389 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1390 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1391 PRIMARY KEY (`parent_id`, `child_id`)
1392 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1393 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1394 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1395 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 29 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1396 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1397 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1398 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1399 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1400 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1401 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 29
1402 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1403 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 29
1404 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1405 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 29 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1406 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 29 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1407 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1408 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1409 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1410 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1411 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 29
1412 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1413 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 29 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1414 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1415 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1416 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1417 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1418 PRIMARY KEY (`parent_id`, `child_id`)
1419 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1420 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1421 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1422 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 30 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1423 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1424 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1425 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1426 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1427 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1428 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 30
1429 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1430 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 30
1431 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1432 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 30 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1433 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 30 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1434 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1435 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1436 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1437 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1438 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 30
1439 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1440 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 30 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1441 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1442 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1443 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1444 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1445 PRIMARY KEY (`parent_id`, `child_id`)
1446 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1447 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1448 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1449 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 32 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1450 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1451 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1452 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1453 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1454 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1455 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 32
1456 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1457 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 32
1458 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1459 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 32 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1460 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 32 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1461 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1462 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1463 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1464 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1465 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 32
1466 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1467 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 32 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1468 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1469 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1470 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1471 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1472 PRIMARY KEY (`parent_id`, `child_id`)
1473 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1474 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1475 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1476 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 35 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1477 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1478 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1479 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1480 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1481 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1482 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 35
1483 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1484 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 35
1485 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1486 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 35 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1487 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 35 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1488 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1489 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1490 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1491 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1492 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 35
1493 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1494 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 35 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1495 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1496 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1497 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1498 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1499 PRIMARY KEY (`parent_id`, `child_id`)
1500 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1501 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1502 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1503 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 34 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1504 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1505 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1506 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1507 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1508 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1509 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 34
1510 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1511 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 34
1512 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1513 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 34 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1514 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 34 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1515 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1516 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1517 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1518 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1519 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 34
1520 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1521 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 34 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1522 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1523 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1524 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1525 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1526 PRIMARY KEY (`parent_id`, `child_id`)
1527 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1528 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1529 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1530 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 31 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1531 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1532 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1533 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1534 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1535 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1536 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 31
1537 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1538 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 31
1539 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1540 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 31 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1541 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 31 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1542 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1543 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1544 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1545 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1546 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 31
1547 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1548 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 31 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1549 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1550 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1551 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1552 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1553 PRIMARY KEY (`parent_id`, `child_id`)
1554 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1555 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1556 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1557 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 33 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1558 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1559 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1560 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1561 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1562 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1563 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 33
1564 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1565 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 33
1566 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1567 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 33 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1568 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 33 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1569 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1570 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1571 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1572 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1573 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 33
1574 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1575 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 33 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1576 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1577 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1578 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1579 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1580 PRIMARY KEY (`parent_id`, `child_id`)
1581 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1582 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1583 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1584 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 36 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1585 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1586 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1587 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1588 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1589 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1590 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 36
1591 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1592 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 36
1593 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1594 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 36 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1595 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 36 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1596 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1597 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1598 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1599 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1600 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 36
1601 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1602 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 36 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1603 3 Query DROP TEMPORARY TABLE IF EXISTS `temp_catalog_category_tree_index_6eb3b8eb`
1604 3 Query CREATE TEMPORARY TABLE `temp_catalog_category_tree_index_6eb3b8eb` (
1605 `parent_id` int UNSIGNED NOT NULL COMMENT 'Parent_id' ,
1606 `child_id` int UNSIGNED NOT NULL COMMENT 'Child_id' ,
1607 PRIMARY KEY (`parent_id`, `child_id`)
1608 ) COMMENT='temp_catalog_category_tree_index_6eb3b8eb' ENGINE=innodb charset=utf8 COLLATE=utf8_general_ci
1609 3 Query INSERT INTO `temp_catalog_category_tree_index_6eb3b8eb` (`parent_id`, `child_id`) SELECT `cc`.`entity_id` AS `parent_id`, `cc2`.`entity_id` AS `child_id` FROM `catalog_category_entity` AS `cc`
1610 INNER JOIN `catalog_category_entity` AS `cc2` ON cc2.path LIKE CONCAT(`cc`.`path`, '/%') AND (cc2.created_in <= 1 AND cc2.updated_in > 1) WHERE (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `parent_id` = VALUES(`parent_id`), `child_id` = VALUES(`child_id`)
1611 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, ccp.position + 10000 AS `position`, 0 AS `is_parent`, 6 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1612 INNER JOIN `temp_catalog_category_tree_index_6eb3b8eb` AS `cc2` ON cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (1)
1613 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc2.child_id
1614 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1615 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1616 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1617 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 6
1618 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe. row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1619 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 6
1620 INNER JOIN `catalog_category_entity_int` AS `ccad` ON ccad.row_id = cc.row_id AND ccad.store_id = 0 AND ccad.attribute_id = 54
1621 LEFT JOIN `catalog_category_entity_int` AS `ccas` ON ccas.row_id = cc.row_id AND ccas.attribute_id = ccad.attribute_id AND ccas.store_id = 6 WHERE (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (IFNULL(ccas.value, ccad.value) = 1) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1622 3 Query INSERT INTO `catalog_category_product_index` (`category_id`, `product_id`, `position`, `is_parent`, `store_id`, `visibility`) SELECT `cc`.`entity_id` AS `category_id`, `ccp`.`product_id`, `ccp`.`position`, 1 AS `is_parent`, 6 AS `store_id`, IFNULL(cpvs.value, cpvd.value) AS `visibility` FROM `catalog_category_entity` AS `cc`
1623 INNER JOIN `catalog_category_product` AS `ccp` ON ccp.category_id = cc.entity_id
1624 INNER JOIN `catalog_product_website` AS `cpw` ON cpw.product_id = ccp.product_id
1625 INNER JOIN `catalog_product_entity` AS `cpe` ON ccp.product_id = cpe.entity_id AND (cpe.created_in <= 1 AND cpe.updated_in > 1)
1626 INNER JOIN `catalog_product_entity_int` AS `cpsd` ON cpsd.row_id = cpe.row_id AND cpsd.store_id = 0 AND cpsd.attribute_id = 97
1627 LEFT JOIN `catalog_product_entity_int` AS `cpss` ON cpss.row_id = cpe.row_id AND cpss.attribute_id = cpsd.attribute_id AND cpss.store_id = 6
1628 INNER JOIN `catalog_product_entity_int` AS `cpvd` ON cpvd.row_id = cpe.row_id AND cpvd.store_id = 0 AND cpvd.attribute_id = 99
1629 LEFT JOIN `catalog_product_entity_int` AS `cpvs` ON cpvs.row_id = cpe.row_id AND cpvs.attribute_id = cpvd.attribute_id AND cpvs.store_id = 6 WHERE (cc.path LIKE '1/2/%') AND (cpw.website_id = '1') AND (IFNULL(cpss.value, cpsd.value) = 1) AND (IFNULL(cpvs.value, cpvd.value) IN (2, 3, 4)) AND (cc.entity_id IN ('1', '2', '4')) AND (cc.created_in <= 1) AND (cc.updated_in > 1) ON DUPLICATE KEY UPDATE `category_id` = VALUES(`category_id`), `product_id` = VALUES(`product_id`), `position` = VALUES(`position`), `is_parent` = VALUES(`is_parent`), `store_id` = VALUES(`store_id`), `visibility` = VALUES(`visibility`)
1630 3 Query START TRANSACTION
1631 3 Query COMMIT
1632 2 Query SELECT COUNT(*) FROM `catalog_category_entity` AS `e`
1633 INNER JOIN `catalog_category_entity_varchar` AS `at_name_default` ON (`at_name_default`.`row_id` = `e`.`row_id`) AND (`at_name_default`.`attribute_id` = '45') AND `at_name_default`.`store_id` = 0
1634 LEFT JOIN `catalog_category_entity_varchar` AS `at_name` ON (`at_name`.`row_id` = `e`.`row_id`) AND (`at_name`.`attribute_id` = '45') AND (`at_name`.`store_id` = 11) WHERE (IF(at_name.value_id > 0, at_name.value, at_name_default.value) = 'Testtesttest1281531') AND (e.created_in <= 1) AND (e.updated_in > 1)
1635 2 Query SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '2') AND (t.created_in <= 1) AND (t.updated_in > 1)
1636 2 Query (SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
1637 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_int` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
1638 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_text` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
1639 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
1640 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (row_id = '2') AND (`store_id` IN (11, 0)) ORDER BY `t`.`store_id` DESC
1641 )
1642 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '2') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1) LIMIT 1
1643 2 Query START TRANSACTION
1644 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '4') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1) LIMIT 1
1645 2 Query SELECT `catalog_category_entity_varchar`.`value_id` FROM `catalog_category_entity_varchar` WHERE (attribute_id='123' AND row_id='')
1646 2 Query SELECT `visual_merchandiser_rule`.* FROM `visual_merchandiser_rule` WHERE (`visual_merchandiser_rule`.`category_id`='4')
1647 2 Query SELECT `entity_table`.`entity_id`, `entity_table`.`row_id`, `entity_table`.`created_in`, `entity_table`.`updated_in` FROM `catalog_category_entity` AS `entity_table` WHERE (entity_id = '4') AND (entity_table.created_in <= 1) AND (entity_table.updated_in > 1)
1648 2 Query UPDATE `catalog_category_entity` SET `entity_id` = '4', `created_in` = '1', `updated_in` = '2147483647', `attribute_set_id` = '3', `parent_id` = '0', `children_count` = '0' WHERE (row_id = '4')
1649 2 Query (SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4')) ORDER BY `t`.`store_id` DESC
1650 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_int` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4')) ORDER BY `t`.`store_id` DESC
1651 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_text` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4')) ORDER BY `t`.`store_id` DESC
1652 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4')) ORDER BY `t`.`store_id` DESC
1653 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4')) ORDER BY `t`.`store_id` DESC
1654 )
1655 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '45', 'Testtesttest1281531', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1656 2 Query INSERT INTO `catalog_category_entity_int` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '46', '1', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1657 2 Query INSERT INTO `catalog_category_entity_text` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '47', 'description1485784091', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1658 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '49', 'meta_title_32915541485784091', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1659 2 Query INSERT INTO `catalog_category_entity_text` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '50', 'meta_keywords49236601485784091', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1660 2 Query INSERT INTO `catalog_category_entity_text` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '51', 'meta_description43731611485784091', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1661 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '52', 'PRODUCTS', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1662 2 Query INSERT INTO `catalog_category_entity_int` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '54', '1', '0') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1663 2 Query INSERT INTO `catalog_category_entity_int` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '69', '1', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1664 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '122', 'url_key_18959471485784090', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1665 2 Query INSERT INTO `catalog_category_entity_varchar` (`row_id`,`attribute_id`,`value`,`store_id`) VALUES ('4', '177', 'foxseo_heading88451721485784091', '4') ON DUPLICATE KEY UPDATE `row_id` = VALUES(`row_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)
1666 2 Query (SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4', 0)) ORDER BY `t`.`store_id` DESC
1667 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_int` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4', 0)) ORDER BY `t`.`store_id` DESC
1668 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_text` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4', 0)) ORDER BY `t`.`store_id` DESC
1669 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4', 0)) ORDER BY `t`.`store_id` DESC
1670 )UNION ALL(SELECT `t`.`value`, `t`.`attribute_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (row_id = '4') AND (`store_id` IN ('4', 0)) ORDER BY `t`.`store_id` DESC
1671 )
1672 2 Query SELECT `entity_table`.`created_in` FROM `catalog_category_entity` AS `entity_table` WHERE (created_in > 1) AND (entity_id = '4') ORDER BY `created_in` ASC
1673 LIMIT 1
1674 2 Query SELECT `entity_table`.`created_in` FROM `catalog_category_entity` AS `entity_table`
1675 INNER JOIN `staging_update` AS `update_table` ON entity_table.created_in = update_table.id and update_table.is_rollback is null and update_table.rollback_id is null WHERE (created_in > 1) AND (entity_id = '4') ORDER BY `created_in` ASC
1676 LIMIT 1
1677 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (`path` LIKE '/%') AND (`level` <= '1') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
1678 2 Query SELECT `e`.* FROM `catalog_category_entity` AS `e` WHERE (`e`.`entity_id` = '') AND (e.created_in <= 1) AND (e.updated_in > 1)
1679 3 Query SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`store_id` IN (4)) AND (`entity_id` IN ('4')) AND (`entity_type` IN ('category'))
1680 3 Query SELECT `e`.*, `cat_index`.`position` AS `cat_index_position` FROM `catalog_product_entity` AS `e`
1681 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=4 AND cat_index.category_id='4' WHERE (e.created_in <= 1) AND (e.updated_in > 1)
1682 2 Query SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (`path` LIKE '/%') AND (catalog_category_entity.created_in <= 1) AND (catalog_category_entity.updated_in > 1)
1683 2 Query SELECT `e`.* FROM `catalog_category_entity` AS `e` WHERE (`e`.`entity_id` = '') AND (e.created_in <= 1) AND (e.updated_in > 1)
1684 2 Query SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('4')) AND (`store_id` IN (4)) AND (`entity_type` IN ('category'))
1685 3 Query DELETE `url_rewrite` FROM `url_rewrite` WHERE (`entity_id` IN ('4')) AND (`store_id` IN (4)) AND (`entity_type` IN ('category'))
1686 3 Query INSERT INTO `url_rewrite` (`redirect_type`,`is_autogenerated`,`metadata`,`description`,`store_id`,`entity_type`,`entity_id`,`request_path`,`target_path`) VALUES ('0', '1', NULL, NULL, '4', 'category', '4', '', 'catalog/category/view/id/4')
1687 2 Query ROLLBACK
1688 2 Quit
1689 3 Quit