From 1ded7cd77f1b6c5bfbaefa2112aef350d436a8ac Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 6 Aug 2008 17:25:31 +0000 Subject: [PATCH] bug #2037381 [export] Export type "replace" does not work --- ChangeLog | 1 + libraries/export/sql.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 456d419dd..bc82005e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -75,6 +75,7 @@ danbarry - bug #2032707 [core] PMA does not start if ini_set() is disabled - bug #2004915 [bookmarks] Saved queries greater than 1000 chars not displayed, thanks to Maik Wiege - mswiege +- bug #2037381 [export] Export type "replace" does not work 2.11.8.0 (2008-07-28) - patch #1987593 [interface] Table list pagination in navi, diff --git a/libraries/export/sql.php b/libraries/export/sql.php index b4d6f5575..6ace41ceb 100644 --- a/libraries/export/sql.php +++ b/libraries/export/sql.php @@ -115,7 +115,7 @@ if (isset($plugin_list)) { $plugin_list['sql']['options'][] = array('type' => 'bool', 'name' => 'hex_for_blob', 'text' => 'strHexForBLOB'); $plugin_list['sql']['options'][] = - array('type' => 'select', 'name' => 'type', 'text' => 'strSQLExportType', 'values' => array('INSERT', 'UPDATE', 'REPLACE')); + array('type' => 'select', 'name' => 'type', 'text' => 'strSQLExportType', 'values' => array('INSERT' => 'INSERT', 'UPDATE' => 'UPDATE', 'REPLACE' => 'REPLACE')); $plugin_list['sql']['options'][] = array('type' => 'egroup'); }