add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version()
10.4.12-MariaDB
Can't create table `db_1815534085`.`forum_posts` (errno: 150 "Foreign key constraint is incorrectly formed")
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE forum_topics ALL null null null null 1 100.00 Using where; Using temporary; Using filesort
1 SIMPLE users eq_ref PRIMARY PRIMARY 4 db_1815534085.forum_topics.author_id 1 100.00 Using where
1 SIMPLE forum_topics_seen ref topic_id,user_id topic_id 8 db_1815534085.forum_topics.id,const 1 100.00 Using index
1 SIMPLE forum_posts ALL null null null null 1 100.00 Using where; Using join buffer (flat, BNL join)
1 SIMPLE forum_categories eq_ref PRIMARY PRIMARY 4 db_1815534085.forum_topics.category_id 1 100.00
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY ft ALL null null null null 1 100.00 Using where; Using temporary; Using filesort
1 PRIMARY u eq_ref PRIMARY PRIMARY 4 db_1815534085.ft.author_id 1 100.00 Using where
1 PRIMARY fts ref topic_id,user_id topic_id 8 db_1815534085.ft.id,const 1 100.00 Using index
1 PRIMARY fc eq_ref PRIMARY PRIMARY 4 db_1815534085.ft.category_id 1 100.00
1 PRIMARY <derived2> ALL null null null null 2 100.00 Using join buffer (flat, BNL join)
2 DERIVED forum_posts index null PRIMARY 4 null 1 100.00 Using index