Darkdadaah has submitted this change and it was merged.

Change subject: Get rid of the "replace" part in the sql file "import". The two 
files need to be run one after the other now.
......................................................................


Get rid of the "replace" part in the sql file "import". The two files need to 
be run one after the other now.

Change-Id: I4f284bebfd137e260f330470be1847c42ba3633c
---
M sql/sql_tables_import.sql
1 file changed, 1 insertion(+), 12 deletions(-)

Approvals:
  Darkdadaah: Verified; Looks good to me, approved



diff --git a/sql/sql_tables_import.sql b/sql/sql_tables_import.sql
index 5304ffa..d193a33 100644
--- a/sql/sql_tables_import.sql
+++ b/sql/sql_tables_import.sql
@@ -28,15 +28,4 @@
        TERMINATED BY '\n'
 (langue,num,num_min);
 
-SELECT '- Replace the old tables by the new ones' AS '' ;
-RENAME TABLE    articles TO articles_old,
-                articles_temp TO articles,
-               mots TO mots_old,
-                mots_temp TO mots,
-               langues TO langues_old,
-                langues_temp TO langues ;
-
-SELECT '- Drop the old tables' AS '' ;
-DROP TABLE articles_old, mots_old, langues_old ;
-
-SELECT 'DONE' AS '' ;
+SELECT 'TABLES IMPORTED IN TEMP' AS '' ;

-- 
To view, visit https://gerrit.wikimedia.org/r/50003
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f284bebfd137e260f330470be1847c42ba3633c
Gerrit-PatchSet: 1
Gerrit-Project: wiktionary/anagrimes
Gerrit-Branch: cleaning
Gerrit-Owner: Darkdadaah <darkdad...@yahoo.fr>
Gerrit-Reviewer: Darkdadaah <darkdad...@yahoo.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to