diff --git a/installer/data/mysql/atomicupdate/bug_29778.pl b/installer/data/mysql/atomicupdate/bug_29778.pl index c8f25e7c90..48c97c746b 100755 --- a/installer/data/mysql/atomicupdate/bug_29778.pl +++ b/installer/data/mysql/atomicupdate/bug_29778.pl @@ -9,9 +9,11 @@ return { $dbh->do(q{ DELETE FROM additional_contents WHERE code NOT IN ( - SELECT code - FROM additional_contents - WHERE lang = "default" + SELECT code FROM ( + SELECT code + FROM additional_contents + WHERE lang = "default" + ) as tmp ); }); },