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:
authorGarvin Hicking <me@supergarv.de>2003-11-25 22:20:20 +0300
committerGarvin Hicking <me@supergarv.de>2003-11-25 22:20:20 +0300
commit8d1bfe6f3b862f6ee1fb4e464d434160e923078e (patch)
treea46f5ca9a46da94a66b012aa4fd669a6eccc7d12 /server_collations.php
parent4fbe46dc406954fe8ad757cfad10d3f65d35c9e5 (diff)
Reverted some obfuscated RegExes. Nijel, as you where working on that: I removed the bugfixes you threw in for my faulty code because there where some issue left (for me):
The lines $re0 = '@(^|(\\\\\\\\)+|[^\\\\])'; // non-escaped wildcards $re1 = '@(^|[^\])(\\\)+'; // escaped wildcards as they currently where made no sense to me, because the single [^\] should be replaced to [^\\\\] as well, doesn't it? To not seriously break more stuff I decided to revert to the previous mechanism here. I will do more serious tests the next days and will actually work with my PMA again and I pay close attention to see if there are any issues left. I also searched through the code to see if the setting of the array points from former while() constructs was in any way used [current(), next(), prev(), key(), end(), each()] but did find none.
Diffstat (limited to 'server_collations.php')
-rw-r--r--server_collations.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/server_collations.php b/server_collations.php
index 4ac56a716a..1edbe92d1c 100644
--- a/server_collations.php
+++ b/server_collations.php
@@ -55,8 +55,6 @@ echo '<table border="0">' . "\n"
. ' </th>' . "\n"
. ' </tr>' . "\n";
-reset($mysql_charsets);
-reset($mysql_collations);
$i = 0;
$table_row_count = count($mysql_charsets) + $mysql_collations_count;