Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2013-05-26 17:52:34 +0400
committerMarc Delisle <marc@infomarc.info>2013-05-26 17:52:34 +0400
commit1fd1a41541227650ade33755d46d5c17e0c5e48a (patch)
treef374daf71e9c72786ba9c8190efb675657cfa4d9 /tbl_export.php
parent4f197ef7af7a427e358fd75a4e7c98f057089713 (diff)
Add unset() statement to help for future refactoring
Diffstat (limited to 'tbl_export.php')
-rw-r--r--tbl_export.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tbl_export.php b/tbl_export.php
index a89217dd32..fbc585c6e9 100644
--- a/tbl_export.php
+++ b/tbl_export.php
@@ -46,6 +46,7 @@ if (! empty($sql_query)) {
$first_occurring_regex = PMA_getFirstOccurringRegularExpression(
$regex_array, $sql_query
);
+ unset($regex_array);
// The part "SELECT `id`, `name` FROM `customers`"
// is not modified by the next code segment, when exporting
@@ -56,6 +57,7 @@ if (! empty($sql_query)) {
$temp_sql_array = preg_split($first_occurring_regex, $sql_query);
$sql_query = $temp_sql_array[0];
}
+ unset($first_occurring_regex, $temp_sql_array);
// Append the where clause using the primary key of each row
if (is_array($where_clause) && (count($where_clause) > 0)) {