From d9cc90927c003412ea9815b69d6d93b277da57be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 8 Jun 2004 09:21:48 +0000 Subject: [PATCH] Add FOREIGN_KEY_CHECKS=0 to export (RFE #966038). --- ChangeLog | 6 ++++++ config.inc.php | 1 + lang/afrikaans-iso-8859-1.inc.php | 1 + lang/afrikaans-utf-8.inc.php | 1 + lang/albanian-iso-8859-1.inc.php | 1 + lang/albanian-utf-8.inc.php | 1 + lang/arabic-utf-8.inc.php | 1 + lang/arabic-windows-1256.inc.php | 1 + lang/azerbaijani-iso-8859-9.inc.php | 1 + lang/azerbaijani-utf-8.inc.php | 1 + lang/basque-iso-8859-1.inc.php | 1 + lang/basque-utf-8.inc.php | 1 + lang/bosnian-utf-8.inc.php | 1 + lang/bosnian-windows-1250.inc.php | 1 + lang/brazilian_portuguese-iso-8859-1.inc.php | 1 + lang/brazilian_portuguese-utf-8.inc.php | 1 + lang/bulgarian-koi8-r.inc.php | 1 + lang/bulgarian-utf-8.inc.php | 1 + lang/bulgarian-windows-1251.inc.php | 1 + lang/catalan-iso-8859-1.inc.php | 1 + lang/catalan-utf-8.inc.php | 1 + lang/chinese_big5-utf-8.inc.php | 1 + lang/chinese_big5.inc.php | 1 + lang/chinese_gb-utf-8.inc.php | 1 + lang/chinese_gb.inc.php | 1 + lang/croatian-iso-8859-2.inc.php | 1 + lang/croatian-utf-8.inc.php | 1 + lang/croatian-windows-1250.inc.php | 1 + lang/czech-iso-8859-2.inc.php | 1 + lang/czech-utf-8.inc.php | 1 + lang/czech-windows-1250.inc.php | 1 + lang/danish-iso-8859-1.inc.php | 1 + lang/danish-utf-8.inc.php | 1 + lang/dutch-iso-8859-1.inc.php | 1 + lang/dutch-utf-8.inc.php | 1 + lang/english-iso-8859-1.inc.php | 1 + lang/english-utf-8.inc.php | 1 + lang/estonian-iso-8859-1.inc.php | 1 + lang/estonian-utf-8.inc.php | 1 + lang/finnish-iso-8859-1.inc.php | 1 + lang/finnish-utf-8.inc.php | 1 + lang/french-iso-8859-1.inc.php | 1 + lang/french-utf-8.inc.php | 1 + lang/galician-iso-8859-1.inc.php | 1 + lang/galician-utf-8.inc.php | 1 + lang/georgian-utf-8.inc.php | 1 + lang/german-iso-8859-1.inc.php | 1 + lang/german-utf-8.inc.php | 1 + lang/greek-iso-8859-7.inc.php | 1 + lang/greek-utf-8.inc.php | 1 + lang/hebrew-iso-8859-8-i.inc.php | 1 + lang/hindi-utf-8.inc.php | 1 + lang/hungarian-iso-8859-2.inc.php | 1 + lang/hungarian-utf-8.inc.php | 1 + lang/indonesian-iso-8859-1.inc.php | 1 + lang/indonesian-utf-8.inc.php | 1 + lang/italian-iso-8859-1.inc.php | 1 + lang/italian-utf-8.inc.php | 1 + lang/japanese-euc.inc.php | 1 + lang/japanese-sjis.inc.php | 1 + lang/japanese-utf-8.inc.php | 1 + lang/korean-euc-kr.inc.php | 1 + lang/korean-utf-8.inc.php | 1 + lang/latvian-utf-8.inc.php | 1 + lang/latvian-windows-1257.inc.php | 1 + lang/lithuanian-utf-8.inc.php | 1 + lang/lithuanian-windows-1257.inc.php | 1 + lang/malay-iso-8859-1.inc.php | 1 + lang/malay-utf-8.inc.php | 1 + lang/norwegian-iso-8859-1.inc.php | 1 + lang/norwegian-utf-8.inc.php | 1 + lang/persian-utf-8.inc.php | 1 + lang/persian-windows-1256.inc.php | 1 + lang/polish-iso-8859-2.inc.php | 1 + lang/polish-utf-8.inc.php | 1 + lang/portuguese-iso-8859-1.inc.php | 1 + lang/portuguese-utf-8.inc.php | 1 + lang/romanian-iso-8859-1.inc.php | 1 + lang/romanian-utf-8.inc.php | 1 + lang/russian-cp-866.inc.php | 1 + lang/russian-koi8-r.inc.php | 1 + lang/russian-utf-8.inc.php | 1 + lang/russian-windows-1251.inc.php | 1 + lang/serbian_cyrillic-utf-8.inc.php | 1 + lang/serbian_cyrillic-windows-1251.inc.php | 1 + lang/serbian_latin-utf-8.inc.php | 1 + lang/serbian_latin-windows-1250.inc.php | 1 + lang/slovak-iso-8859-2.inc.php | 1 + lang/slovak-utf-8.inc.php | 1 + lang/slovak-windows-1250.inc.php | 1 + lang/slovenian-iso-8859-2.inc.php | 1 + lang/slovenian-utf-8.inc.php | 1 + lang/slovenian-windows-1250.inc.php | 1 + lang/spanish-iso-8859-1.inc.php | 1 + lang/spanish-utf-8.inc.php | 1 + lang/swedish-iso-8859-1.inc.php | 1 + lang/swedish-utf-8.inc.php | 1 + lang/thai-tis-620.inc.php | 1 + lang/thai-utf-8.inc.php | 1 + lang/turkish-iso-8859-9.inc.php | 1 + lang/turkish-utf-8.inc.php | 1 + lang/ukrainian-utf-8.inc.php | 1 + lang/ukrainian-windows-1251.inc.php | 1 + libraries/common.lib.php | 2 +- libraries/config_import.lib.php | 3 +++ libraries/display_export.lib.php | 3 +++ libraries/export/sql.php | 12 ++++++++++-- 107 files changed, 125 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 709c4d936..a1577e2c0 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,12 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-06-08 Michal Čihař + * config.inc.php, lang/*, libraries/common.lib.php, + libraries/config_import.lib.php, libraries/display_export.lib.php, + libraries/export/sql.php: Add FOREIGN_KEY_CHECKS=0 to export (RFE + #966038). + 2004-06-08 Alexander M. Turek * libraries/common.lib.php: backwards compatibility. * config.inc.php: typo. diff --git a/config.inc.php b/config.inc.php index f02c54cea..097d6886d 100644 --- a/config.inc.php +++ b/config.inc.php @@ -337,6 +337,7 @@ $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure'; $cfg['Export']['sql_structure'] = TRUE; $cfg['Export']['sql_data'] = TRUE; +$cfg['Export']['sql_disable_fk'] = FALSE; $cfg['Export']['sql_use_transaction'] = FALSE; $cfg['Export']['sql_drop_database'] = FALSE; $cfg['Export']['sql_drop_table'] = FALSE; diff --git a/lang/afrikaans-iso-8859-1.inc.php b/lang/afrikaans-iso-8859-1.inc.php index e160e376e..0b8bd6f95 100644 --- a/lang/afrikaans-iso-8859-1.inc.php +++ b/lang/afrikaans-iso-8859-1.inc.php @@ -756,4 +756,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/afrikaans-utf-8.inc.php b/lang/afrikaans-utf-8.inc.php index 43d95e879..99123f19c 100644 --- a/lang/afrikaans-utf-8.inc.php +++ b/lang/afrikaans-utf-8.inc.php @@ -757,4 +757,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/albanian-iso-8859-1.inc.php b/lang/albanian-iso-8859-1.inc.php index 6c12f919e..7f6c412cb 100644 --- a/lang/albanian-iso-8859-1.inc.php +++ b/lang/albanian-iso-8859-1.inc.php @@ -748,4 +748,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/albanian-utf-8.inc.php b/lang/albanian-utf-8.inc.php index 22972609a..053d69dca 100644 --- a/lang/albanian-utf-8.inc.php +++ b/lang/albanian-utf-8.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/arabic-utf-8.inc.php b/lang/arabic-utf-8.inc.php index 032c85351..0e41f3c76 100644 --- a/lang/arabic-utf-8.inc.php +++ b/lang/arabic-utf-8.inc.php @@ -750,4 +750,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/arabic-windows-1256.inc.php b/lang/arabic-windows-1256.inc.php index bfa41324a..0dc8109bb 100644 --- a/lang/arabic-windows-1256.inc.php +++ b/lang/arabic-windows-1256.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/azerbaijani-iso-8859-9.inc.php b/lang/azerbaijani-iso-8859-9.inc.php index 0f5892a19..e1132eb79 100644 --- a/lang/azerbaijani-iso-8859-9.inc.php +++ b/lang/azerbaijani-iso-8859-9.inc.php @@ -745,4 +745,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/azerbaijani-utf-8.inc.php b/lang/azerbaijani-utf-8.inc.php index ffacd8179..83c4aa330 100644 --- a/lang/azerbaijani-utf-8.inc.php +++ b/lang/azerbaijani-utf-8.inc.php @@ -746,4 +746,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/basque-iso-8859-1.inc.php b/lang/basque-iso-8859-1.inc.php index ffc0062d7..7b900f783 100644 --- a/lang/basque-iso-8859-1.inc.php +++ b/lang/basque-iso-8859-1.inc.php @@ -748,4 +748,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/basque-utf-8.inc.php b/lang/basque-utf-8.inc.php index 63ac90aa4..0bbca49f2 100644 --- a/lang/basque-utf-8.inc.php +++ b/lang/basque-utf-8.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/bosnian-utf-8.inc.php b/lang/bosnian-utf-8.inc.php index 782a5ac23..d95c6074f 100644 --- a/lang/bosnian-utf-8.inc.php +++ b/lang/bosnian-utf-8.inc.php @@ -755,4 +755,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/bosnian-windows-1250.inc.php b/lang/bosnian-windows-1250.inc.php index 1cdf4306d..cb0202d58 100644 --- a/lang/bosnian-windows-1250.inc.php +++ b/lang/bosnian-windows-1250.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/brazilian_portuguese-iso-8859-1.inc.php b/lang/brazilian_portuguese-iso-8859-1.inc.php index 6cc371e2e..de79b5828 100644 --- a/lang/brazilian_portuguese-iso-8859-1.inc.php +++ b/lang/brazilian_portuguese-iso-8859-1.inc.php @@ -770,4 +770,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/brazilian_portuguese-utf-8.inc.php b/lang/brazilian_portuguese-utf-8.inc.php index 798b54d3c..bfb1143c7 100644 --- a/lang/brazilian_portuguese-utf-8.inc.php +++ b/lang/brazilian_portuguese-utf-8.inc.php @@ -771,4 +771,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/bulgarian-koi8-r.inc.php b/lang/bulgarian-koi8-r.inc.php index d8ebf6726..0515b3a15 100644 --- a/lang/bulgarian-koi8-r.inc.php +++ b/lang/bulgarian-koi8-r.inc.php @@ -753,4 +753,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/bulgarian-utf-8.inc.php b/lang/bulgarian-utf-8.inc.php index 0f4214414..dbeb5b562 100644 --- a/lang/bulgarian-utf-8.inc.php +++ b/lang/bulgarian-utf-8.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/bulgarian-windows-1251.inc.php b/lang/bulgarian-windows-1251.inc.php index 8914f9470..75d8f956f 100644 --- a/lang/bulgarian-windows-1251.inc.php +++ b/lang/bulgarian-windows-1251.inc.php @@ -753,4 +753,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/catalan-iso-8859-1.inc.php b/lang/catalan-iso-8859-1.inc.php index 1c979c954..918a8c859 100644 --- a/lang/catalan-iso-8859-1.inc.php +++ b/lang/catalan-iso-8859-1.inc.php @@ -741,4 +741,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/catalan-utf-8.inc.php b/lang/catalan-utf-8.inc.php index 7992de36d..cf6aabec6 100644 --- a/lang/catalan-utf-8.inc.php +++ b/lang/catalan-utf-8.inc.php @@ -742,4 +742,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/chinese_big5-utf-8.inc.php b/lang/chinese_big5-utf-8.inc.php index 396235c5c..0ad52c77e 100644 --- a/lang/chinese_big5-utf-8.inc.php +++ b/lang/chinese_big5-utf-8.inc.php @@ -748,4 +748,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/chinese_big5.inc.php b/lang/chinese_big5.inc.php index 6a0e545ce..bdb51153d 100644 --- a/lang/chinese_big5.inc.php +++ b/lang/chinese_big5.inc.php @@ -747,4 +747,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/chinese_gb-utf-8.inc.php b/lang/chinese_gb-utf-8.inc.php index 20f842615..ddfaea3f1 100644 --- a/lang/chinese_gb-utf-8.inc.php +++ b/lang/chinese_gb-utf-8.inc.php @@ -748,4 +748,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/chinese_gb.inc.php b/lang/chinese_gb.inc.php index 1d28e362b..24d8ba910 100644 --- a/lang/chinese_gb.inc.php +++ b/lang/chinese_gb.inc.php @@ -747,4 +747,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/croatian-iso-8859-2.inc.php b/lang/croatian-iso-8859-2.inc.php index 63b08e5fc..989fb2939 100644 --- a/lang/croatian-iso-8859-2.inc.php +++ b/lang/croatian-iso-8859-2.inc.php @@ -769,4 +769,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/croatian-utf-8.inc.php b/lang/croatian-utf-8.inc.php index 57ca15626..315de9460 100644 --- a/lang/croatian-utf-8.inc.php +++ b/lang/croatian-utf-8.inc.php @@ -770,4 +770,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/croatian-windows-1250.inc.php b/lang/croatian-windows-1250.inc.php index 88d572a5e..dafea4dce 100644 --- a/lang/croatian-windows-1250.inc.php +++ b/lang/croatian-windows-1250.inc.php @@ -769,4 +769,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/czech-iso-8859-2.inc.php b/lang/czech-iso-8859-2.inc.php index b6c30ec4a..8d8897dde 100644 --- a/lang/czech-iso-8859-2.inc.php +++ b/lang/czech-iso-8859-2.inc.php @@ -207,6 +207,7 @@ $strDeleting = 'Odstra $strDescending = 'Sestupn'; $strDescription = 'Popis'; $strDictionary = 'slovnk'; +$strDisableForeignChecks = 'Vypnout kontrolu cizch kl'; $strDisabled = 'Vypnuto'; $strDisplay = 'Zobrazit'; $strDisplayFeat = 'Zobrazen funkc'; diff --git a/lang/czech-utf-8.inc.php b/lang/czech-utf-8.inc.php index 9c8ff9c47..49dfef529 100644 --- a/lang/czech-utf-8.inc.php +++ b/lang/czech-utf-8.inc.php @@ -208,6 +208,7 @@ $strDeleting = 'Odstraňuji %s'; $strDescending = 'Sestupně'; $strDescription = 'Popis'; $strDictionary = 'slovník'; +$strDisableForeignChecks = 'Vypnout kontrolu cizích klíčů'; $strDisabled = 'Vypnuto'; $strDisplay = 'Zobrazit'; $strDisplayFeat = 'Zobrazení funkcí'; diff --git a/lang/czech-windows-1250.inc.php b/lang/czech-windows-1250.inc.php index 2125c479c..2025bbd87 100644 --- a/lang/czech-windows-1250.inc.php +++ b/lang/czech-windows-1250.inc.php @@ -207,6 +207,7 @@ $strDeleting = 'Odstra $strDescending = 'Sestupn'; $strDescription = 'Popis'; $strDictionary = 'slovnk'; +$strDisableForeignChecks = 'Vypnout kontrolu cizch kl'; $strDisabled = 'Vypnuto'; $strDisplay = 'Zobrazit'; $strDisplayFeat = 'Zobrazen funkc'; diff --git a/lang/danish-iso-8859-1.inc.php b/lang/danish-iso-8859-1.inc.php index 67c605538..06a55a5a1 100644 --- a/lang/danish-iso-8859-1.inc.php +++ b/lang/danish-iso-8859-1.inc.php @@ -743,4 +743,5 @@ $strZip = '"zipped"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/danish-utf-8.inc.php b/lang/danish-utf-8.inc.php index f984b8725..b91eff992 100644 --- a/lang/danish-utf-8.inc.php +++ b/lang/danish-utf-8.inc.php @@ -744,4 +744,5 @@ $strZip = '"zipped"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/dutch-iso-8859-1.inc.php b/lang/dutch-iso-8859-1.inc.php index 981f530a5..96b4c9a2b 100644 --- a/lang/dutch-iso-8859-1.inc.php +++ b/lang/dutch-iso-8859-1.inc.php @@ -749,4 +749,5 @@ $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/dutch-utf-8.inc.php b/lang/dutch-utf-8.inc.php index 6c9853863..fe713d8db 100644 --- a/lang/dutch-utf-8.inc.php +++ b/lang/dutch-utf-8.inc.php @@ -750,4 +750,5 @@ $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/english-iso-8859-1.inc.php b/lang/english-iso-8859-1.inc.php index d82e8cd71..b3a40e202 100644 --- a/lang/english-iso-8859-1.inc.php +++ b/lang/english-iso-8859-1.inc.php @@ -741,4 +741,5 @@ $strZip = '"zipped"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/english-utf-8.inc.php b/lang/english-utf-8.inc.php index 696119c8b..d1c081e1d 100644 --- a/lang/english-utf-8.inc.php +++ b/lang/english-utf-8.inc.php @@ -742,4 +742,5 @@ $strZip = '"zipped"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/estonian-iso-8859-1.inc.php b/lang/estonian-iso-8859-1.inc.php index 5fdcf8570..ab907ee27 100644 --- a/lang/estonian-iso-8859-1.inc.php +++ b/lang/estonian-iso-8859-1.inc.php @@ -741,4 +741,5 @@ $strZip = '"zipitud"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/estonian-utf-8.inc.php b/lang/estonian-utf-8.inc.php index 882cc4d0b..248014d0b 100644 --- a/lang/estonian-utf-8.inc.php +++ b/lang/estonian-utf-8.inc.php @@ -742,4 +742,5 @@ $strZip = '"zipitud"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/finnish-iso-8859-1.inc.php b/lang/finnish-iso-8859-1.inc.php index a44dd8f4a..62d1f6e77 100644 --- a/lang/finnish-iso-8859-1.inc.php +++ b/lang/finnish-iso-8859-1.inc.php @@ -766,4 +766,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/finnish-utf-8.inc.php b/lang/finnish-utf-8.inc.php index 65090821f..13ea060bd 100644 --- a/lang/finnish-utf-8.inc.php +++ b/lang/finnish-utf-8.inc.php @@ -767,4 +767,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/french-iso-8859-1.inc.php b/lang/french-iso-8859-1.inc.php index d70d8cf1e..5be223ec3 100644 --- a/lang/french-iso-8859-1.inc.php +++ b/lang/french-iso-8859-1.inc.php @@ -742,4 +742,5 @@ $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enl $strZip = '"zipp"'; $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/french-utf-8.inc.php b/lang/french-utf-8.inc.php index 7c13829eb..9ed527dc9 100644 --- a/lang/french-utf-8.inc.php +++ b/lang/french-utf-8.inc.php @@ -743,4 +743,5 @@ $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.'; $strZip = '"zippé"'; $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/galician-iso-8859-1.inc.php b/lang/galician-iso-8859-1.inc.php index 1038cb4db..7adb33791 100644 --- a/lang/galician-iso-8859-1.inc.php +++ b/lang/galician-iso-8859-1.inc.php @@ -748,4 +748,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/galician-utf-8.inc.php b/lang/galician-utf-8.inc.php index df893c8c4..49d9bdbc6 100644 --- a/lang/galician-utf-8.inc.php +++ b/lang/galician-utf-8.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/georgian-utf-8.inc.php b/lang/georgian-utf-8.inc.php index f4aa06523..7ead393b5 100644 --- a/lang/georgian-utf-8.inc.php +++ b/lang/georgian-utf-8.inc.php @@ -770,4 +770,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/german-iso-8859-1.inc.php b/lang/german-iso-8859-1.inc.php index 29f1ebf30..0a3d9f0bf 100644 --- a/lang/german-iso-8859-1.inc.php +++ b/lang/german-iso-8859-1.inc.php @@ -749,4 +749,5 @@ $strZeroRemovesTheLimit = 'Anmerkung: Der Wert 0 (null) entfernt die Beschr $strZip = 'Zip-komprimiert'; $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/german-utf-8.inc.php b/lang/german-utf-8.inc.php index 870e048d8..342ac7e23 100644 --- a/lang/german-utf-8.inc.php +++ b/lang/german-utf-8.inc.php @@ -750,4 +750,5 @@ $strZeroRemovesTheLimit = 'Anmerkung: Der Wert 0 (null) entfernt die Beschränku $strZip = 'Zip-komprimiert'; $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/greek-iso-8859-7.inc.php b/lang/greek-iso-8859-7.inc.php index 00246b510..b421929d5 100644 --- a/lang/greek-iso-8859-7.inc.php +++ b/lang/greek-iso-8859-7.inc.php @@ -750,4 +750,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/greek-utf-8.inc.php b/lang/greek-utf-8.inc.php index a914fd94d..c261ff5c3 100644 --- a/lang/greek-utf-8.inc.php +++ b/lang/greek-utf-8.inc.php @@ -751,4 +751,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/hebrew-iso-8859-8-i.inc.php b/lang/hebrew-iso-8859-8-i.inc.php index 7a117b9e4..88992cad8 100644 --- a/lang/hebrew-iso-8859-8-i.inc.php +++ b/lang/hebrew-iso-8859-8-i.inc.php @@ -766,4 +766,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/hindi-utf-8.inc.php b/lang/hindi-utf-8.inc.php index 9791a158a..ff909a51b 100644 --- a/lang/hindi-utf-8.inc.php +++ b/lang/hindi-utf-8.inc.php @@ -774,4 +774,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/hungarian-iso-8859-2.inc.php b/lang/hungarian-iso-8859-2.inc.php index d8a435c42..f616d5bb4 100644 --- a/lang/hungarian-iso-8859-2.inc.php +++ b/lang/hungarian-iso-8859-2.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/hungarian-utf-8.inc.php b/lang/hungarian-utf-8.inc.php index 27dd03538..85e768f8a 100644 --- a/lang/hungarian-utf-8.inc.php +++ b/lang/hungarian-utf-8.inc.php @@ -755,4 +755,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/indonesian-iso-8859-1.inc.php b/lang/indonesian-iso-8859-1.inc.php index e81d08acd..e60f6da34 100644 --- a/lang/indonesian-iso-8859-1.inc.php +++ b/lang/indonesian-iso-8859-1.inc.php @@ -741,4 +741,5 @@ $strZip = '"Dikompress dengan Zip"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/indonesian-utf-8.inc.php b/lang/indonesian-utf-8.inc.php index e9ab2df1e..39169883b 100644 --- a/lang/indonesian-utf-8.inc.php +++ b/lang/indonesian-utf-8.inc.php @@ -742,4 +742,5 @@ $strZip = '"Dikompress dengan Zip"'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/italian-iso-8859-1.inc.php b/lang/italian-iso-8859-1.inc.php index 2728a4927..6078a8c43 100644 --- a/lang/italian-iso-8859-1.inc.php +++ b/lang/italian-iso-8859-1.inc.php @@ -746,4 +746,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/italian-utf-8.inc.php b/lang/italian-utf-8.inc.php index 50efb5337..7c7c436c2 100644 --- a/lang/italian-utf-8.inc.php +++ b/lang/italian-utf-8.inc.php @@ -747,4 +747,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/japanese-euc.inc.php b/lang/japanese-euc.inc.php index c0047696c..1986900b0 100644 --- a/lang/japanese-euc.inc.php +++ b/lang/japanese-euc.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/japanese-sjis.inc.php b/lang/japanese-sjis.inc.php index c4fbb6f38..0edaacc2b 100644 --- a/lang/japanese-sjis.inc.php +++ b/lang/japanese-sjis.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/japanese-utf-8.inc.php b/lang/japanese-utf-8.inc.php index 15570a19e..df239a38c 100644 --- a/lang/japanese-utf-8.inc.php +++ b/lang/japanese-utf-8.inc.php @@ -755,4 +755,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/korean-euc-kr.inc.php b/lang/korean-euc-kr.inc.php index 9b5682cbc..575b6c28d 100644 --- a/lang/korean-euc-kr.inc.php +++ b/lang/korean-euc-kr.inc.php @@ -764,4 +764,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/korean-utf-8.inc.php b/lang/korean-utf-8.inc.php index 8fb621a6a..d509a2e6b 100644 --- a/lang/korean-utf-8.inc.php +++ b/lang/korean-utf-8.inc.php @@ -765,4 +765,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/latvian-utf-8.inc.php b/lang/latvian-utf-8.inc.php index f00383549..88cb06f55 100644 --- a/lang/latvian-utf-8.inc.php +++ b/lang/latvian-utf-8.inc.php @@ -747,4 +747,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/latvian-windows-1257.inc.php b/lang/latvian-windows-1257.inc.php index 600365975..bfd04fdcc 100644 --- a/lang/latvian-windows-1257.inc.php +++ b/lang/latvian-windows-1257.inc.php @@ -746,4 +746,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/lithuanian-utf-8.inc.php b/lang/lithuanian-utf-8.inc.php index b0a64f14a..873c4c496 100644 --- a/lang/lithuanian-utf-8.inc.php +++ b/lang/lithuanian-utf-8.inc.php @@ -742,4 +742,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/lithuanian-windows-1257.inc.php b/lang/lithuanian-windows-1257.inc.php index ba22aa227..b7fa2d0ad 100644 --- a/lang/lithuanian-windows-1257.inc.php +++ b/lang/lithuanian-windows-1257.inc.php @@ -741,4 +741,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/malay-iso-8859-1.inc.php b/lang/malay-iso-8859-1.inc.php index 2c61bd270..245c75b85 100644 --- a/lang/malay-iso-8859-1.inc.php +++ b/lang/malay-iso-8859-1.inc.php @@ -765,4 +765,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/malay-utf-8.inc.php b/lang/malay-utf-8.inc.php index a4e29cce6..d728a53cf 100644 --- a/lang/malay-utf-8.inc.php +++ b/lang/malay-utf-8.inc.php @@ -766,4 +766,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/norwegian-iso-8859-1.inc.php b/lang/norwegian-iso-8859-1.inc.php index 6bd266b8d..bfd2bd5ef 100644 --- a/lang/norwegian-iso-8859-1.inc.php +++ b/lang/norwegian-iso-8859-1.inc.php @@ -748,4 +748,5 @@ $strZip = 'Komprimert (zip)'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/norwegian-utf-8.inc.php b/lang/norwegian-utf-8.inc.php index 45310285d..394074de7 100644 --- a/lang/norwegian-utf-8.inc.php +++ b/lang/norwegian-utf-8.inc.php @@ -749,4 +749,5 @@ $strZip = 'Komprimert (zip)'; $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/persian-utf-8.inc.php b/lang/persian-utf-8.inc.php index 8dad5b240..238e4ca71 100644 --- a/lang/persian-utf-8.inc.php +++ b/lang/persian-utf-8.inc.php @@ -772,4 +772,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/persian-windows-1256.inc.php b/lang/persian-windows-1256.inc.php index 984e760de..991dbcf76 100644 --- a/lang/persian-windows-1256.inc.php +++ b/lang/persian-windows-1256.inc.php @@ -771,4 +771,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/polish-iso-8859-2.inc.php b/lang/polish-iso-8859-2.inc.php index 3e1c400f4..da64f9ffe 100644 --- a/lang/polish-iso-8859-2.inc.php +++ b/lang/polish-iso-8859-2.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/polish-utf-8.inc.php b/lang/polish-utf-8.inc.php index 45b6886b1..378159e08 100644 --- a/lang/polish-utf-8.inc.php +++ b/lang/polish-utf-8.inc.php @@ -750,4 +750,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/portuguese-iso-8859-1.inc.php b/lang/portuguese-iso-8859-1.inc.php index 628e0d29a..919142c39 100644 --- a/lang/portuguese-iso-8859-1.inc.php +++ b/lang/portuguese-iso-8859-1.inc.php @@ -761,4 +761,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/portuguese-utf-8.inc.php b/lang/portuguese-utf-8.inc.php index 887d019c9..b47aef476 100644 --- a/lang/portuguese-utf-8.inc.php +++ b/lang/portuguese-utf-8.inc.php @@ -762,4 +762,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/romanian-iso-8859-1.inc.php b/lang/romanian-iso-8859-1.inc.php index 0a68fcf92..7b41a5f1a 100644 --- a/lang/romanian-iso-8859-1.inc.php +++ b/lang/romanian-iso-8859-1.inc.php @@ -742,4 +742,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/romanian-utf-8.inc.php b/lang/romanian-utf-8.inc.php index 01c551596..8e69113f5 100644 --- a/lang/romanian-utf-8.inc.php +++ b/lang/romanian-utf-8.inc.php @@ -743,4 +743,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/russian-cp-866.inc.php b/lang/russian-cp-866.inc.php index 81cae3597..d82c8b892 100644 --- a/lang/russian-cp-866.inc.php +++ b/lang/russian-cp-866.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/russian-koi8-r.inc.php b/lang/russian-koi8-r.inc.php index 51e3c47b2..77e6cd65e 100644 --- a/lang/russian-koi8-r.inc.php +++ b/lang/russian-koi8-r.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/russian-utf-8.inc.php b/lang/russian-utf-8.inc.php index f8567dfcc..10c5bb7f9 100644 --- a/lang/russian-utf-8.inc.php +++ b/lang/russian-utf-8.inc.php @@ -750,4 +750,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/russian-windows-1251.inc.php b/lang/russian-windows-1251.inc.php index d27a21e4e..b7f25d0e3 100644 --- a/lang/russian-windows-1251.inc.php +++ b/lang/russian-windows-1251.inc.php @@ -749,4 +749,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/serbian_cyrillic-utf-8.inc.php b/lang/serbian_cyrillic-utf-8.inc.php index e35a25df2..32a081033 100644 --- a/lang/serbian_cyrillic-utf-8.inc.php +++ b/lang/serbian_cyrillic-utf-8.inc.php @@ -752,4 +752,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/serbian_cyrillic-windows-1251.inc.php b/lang/serbian_cyrillic-windows-1251.inc.php index 6218f926d..0b2ad28a9 100644 --- a/lang/serbian_cyrillic-windows-1251.inc.php +++ b/lang/serbian_cyrillic-windows-1251.inc.php @@ -751,4 +751,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/serbian_latin-utf-8.inc.php b/lang/serbian_latin-utf-8.inc.php index 2613c5b15..c851c2190 100644 --- a/lang/serbian_latin-utf-8.inc.php +++ b/lang/serbian_latin-utf-8.inc.php @@ -752,4 +752,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/serbian_latin-windows-1250.inc.php b/lang/serbian_latin-windows-1250.inc.php index 9779af73c..dad95c0fd 100644 --- a/lang/serbian_latin-windows-1250.inc.php +++ b/lang/serbian_latin-windows-1250.inc.php @@ -751,4 +751,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/slovak-iso-8859-2.inc.php b/lang/slovak-iso-8859-2.inc.php index b715af4f2..855f28d37 100644 --- a/lang/slovak-iso-8859-2.inc.php +++ b/lang/slovak-iso-8859-2.inc.php @@ -743,4 +743,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/slovak-utf-8.inc.php b/lang/slovak-utf-8.inc.php index 62eb7f1cf..209696bc9 100644 --- a/lang/slovak-utf-8.inc.php +++ b/lang/slovak-utf-8.inc.php @@ -744,4 +744,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/slovak-windows-1250.inc.php b/lang/slovak-windows-1250.inc.php index 2d9292d7e..84d69599e 100644 --- a/lang/slovak-windows-1250.inc.php +++ b/lang/slovak-windows-1250.inc.php @@ -743,4 +743,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/slovenian-iso-8859-2.inc.php b/lang/slovenian-iso-8859-2.inc.php index 09929f99d..bb42d50a7 100644 --- a/lang/slovenian-iso-8859-2.inc.php +++ b/lang/slovenian-iso-8859-2.inc.php @@ -743,4 +743,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/slovenian-utf-8.inc.php b/lang/slovenian-utf-8.inc.php index acede572e..29362cbb0 100644 --- a/lang/slovenian-utf-8.inc.php +++ b/lang/slovenian-utf-8.inc.php @@ -744,4 +744,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/slovenian-windows-1250.inc.php b/lang/slovenian-windows-1250.inc.php index d60bf10d5..54f68f793 100644 --- a/lang/slovenian-windows-1250.inc.php +++ b/lang/slovenian-windows-1250.inc.php @@ -743,4 +743,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/spanish-iso-8859-1.inc.php b/lang/spanish-iso-8859-1.inc.php index a0c795350..fa36105fc 100644 --- a/lang/spanish-iso-8859-1.inc.php +++ b/lang/spanish-iso-8859-1.inc.php @@ -745,4 +745,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/spanish-utf-8.inc.php b/lang/spanish-utf-8.inc.php index fe6d7e80c..8f08dcc9e 100644 --- a/lang/spanish-utf-8.inc.php +++ b/lang/spanish-utf-8.inc.php @@ -746,4 +746,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/swedish-iso-8859-1.inc.php b/lang/swedish-iso-8859-1.inc.php index 2885f6179..191d97f53 100644 --- a/lang/swedish-iso-8859-1.inc.php +++ b/lang/swedish-iso-8859-1.inc.php @@ -741,4 +741,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/swedish-utf-8.inc.php b/lang/swedish-utf-8.inc.php index 257ac1d48..410daa08c 100644 --- a/lang/swedish-utf-8.inc.php +++ b/lang/swedish-utf-8.inc.php @@ -742,4 +742,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/thai-tis-620.inc.php b/lang/thai-tis-620.inc.php index b1dad00b2..f63b84fcf 100644 --- a/lang/thai-tis-620.inc.php +++ b/lang/thai-tis-620.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/thai-utf-8.inc.php b/lang/thai-utf-8.inc.php index 579f564ef..68864897a 100644 --- a/lang/thai-utf-8.inc.php +++ b/lang/thai-utf-8.inc.php @@ -755,4 +755,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/turkish-iso-8859-9.inc.php b/lang/turkish-iso-8859-9.inc.php index 5d43d5052..ba4a39cc1 100644 --- a/lang/turkish-iso-8859-9.inc.php +++ b/lang/turkish-iso-8859-9.inc.php @@ -754,4 +754,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/turkish-utf-8.inc.php b/lang/turkish-utf-8.inc.php index 32b096950..9135c8c7d 100644 --- a/lang/turkish-utf-8.inc.php +++ b/lang/turkish-utf-8.inc.php @@ -755,4 +755,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/ukrainian-utf-8.inc.php b/lang/ukrainian-utf-8.inc.php index 3d3902801..ad89aa341 100644 --- a/lang/ukrainian-utf-8.inc.php +++ b/lang/ukrainian-utf-8.inc.php @@ -747,4 +747,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/lang/ukrainian-windows-1251.inc.php b/lang/ukrainian-windows-1251.inc.php index 8a44d9597..00d7386ea 100644 --- a/lang/ukrainian-windows-1251.inc.php +++ b/lang/ukrainian-windows-1251.inc.php @@ -746,4 +746,5 @@ $strNoRowsSelected = 'No rows selected'; //to translate $strSQPBugSyntaxError = 'Syntax error'; //to translate $strSpanish = 'Spanish'; //to translate $strStrucNativeExcel = 'Native MS Excel data'; //to translate +$strDisableForeignChecks = 'Disable foreign key checks'; //to translate ?> diff --git a/libraries/common.lib.php b/libraries/common.lib.php index d78064f21..a5bad0e9f 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -136,7 +136,7 @@ if (isset($cfg['FileRevision'])) { } else { $cfg['FileRevision'] = array(1, 1); } -if ($cfg['FileRevision'][0] < 2 || ($cfg['FileRevision'][0] == 2 && $cfg['FileRevision'][1] < 24)) { +if ($cfg['FileRevision'][0] < 2 || ($cfg['FileRevision'][0] == 2 && $cfg['FileRevision'][1] < 25)) { require_once('./libraries/config_import.lib.php'); } diff --git a/libraries/config_import.lib.php b/libraries/config_import.lib.php index 7baed5e57..87038f2aa 100644 --- a/libraries/config_import.lib.php +++ b/libraries/config_import.lib.php @@ -1288,6 +1288,9 @@ if (!isset($cfg['Export']['latex_structure_label'])) { if (!isset($cfg['Export']['sql_drop_database'])) { $cfg['Export']['sql_drop_database'] = FALSE; } +if (!isset($cfg['Export']['sql_disable_fk'])) { + $cfg['Export']['sql_disable_fk'] = FALSE; +} if (!isset($cfg['Export']['sql_use_transaction'])) { $cfg['Export']['sql_use_transaction'] = FALSE; } diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php index 553b71fc1..448194e46 100644 --- a/libraries/display_export.lib.php +++ b/libraries/display_export.lib.php @@ -167,6 +167,9 @@ if (isset($sql_query)) { />
+ + /> +
diff --git a/libraries/export/sql.php b/libraries/export/sql.php index 128010a93..05e956023 100644 --- a/libraries/export/sql.php +++ b/libraries/export/sql.php @@ -57,6 +57,10 @@ function PMA_exportFooter() { $foot = ''; + if (isset($GLOBALS['disable_fk'])) { + $foot .= $crlf . 'SET FOREIGN_KEY_CHECKS=1;' . $crlf; + } + if (isset($GLOBALS['use_transaction'])) { $foot .= $crlf . 'COMMIT;' . $crlf; } @@ -95,11 +99,15 @@ function PMA_exportHeader() { . $GLOBALS['comment_marker'] . $crlf; } + if (isset($GLOBALS['disable_fk'])) { + $head .= $crlf . 'SET FOREIGN_KEY_CHECKS=0;' . $crlf; + } + if (isset($GLOBALS['use_transaction'])) { $head .= $crlf .'SET AUTOCOMMIT=0;' . $crlf . 'START TRANSACTION;' . $crlf . $crlf; } - + return PMA_exportOutputHandler($head); } @@ -234,7 +242,7 @@ function PMA_getTableDef($db, $table, $crlf, $error_url, $show_dates = false) if ($result != FALSE && PMA_DBI_num_rows($result) > 0) { $tmpres = PMA_DBI_fetch_row($result); // Fix for case problems with winwin, thanks to - // Pawe Szczepaski + // Paweł Szczepański $pos = strpos($tmpres[1], ' ('); // Fix a problem with older versions of mysql