Bug: T202211
Change-Id: Ife673b88c23acdc1bfc04630715d18243471035f
PRIMARY KEY (pl_from,pl_namespace,pl_title)
) /*$wgDBTableOptions*/;
-INSERT INTO /*_*/pagelinks_tmp
- SELECT * FROM /*_*/pagelinks;
+INSERT INTO /*_*/pagelinks_tmp (pl_from, pl_from_namespace, pl_namespace, pl_title)
+ SELECT pl_from, pl_from_namespace, pl_namespace, pl_title FROM /*_*/pagelinks;
DROP TABLE /*_*/pagelinks;
PRIMARY KEY (tl_from,tl_namespace,tl_title)
) /*$wgDBTableOptions*/;
-INSERT INTO /*_*/templatelinks_tmp
- SELECT * FROM /*_*/templatelinks;
+INSERT INTO /*_*/templatelinks_tmp (tl_from, tl_from_namespace, tl_namespace, tl_title)
+ SELECT tl_from, tl_from_namespace, tl_namespace, tl_title FROM /*_*/templatelinks;
DROP TABLE /*_*/templatelinks;