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:
authorMichal Čihař <michal@cihar.com>2011-08-17 16:18:19 +0400
committerMichal Čihař <michal@cihar.com>2011-08-17 16:18:19 +0400
commitc04a557c02c590eb141661780f731540d46ba74c (patch)
tree096b42110c85838fdcb159675500dbfe47c264b5 /test/test_data/exploit_test.sql
parent798e9c44bdd55be8b8822b0af6db6bfcf4d51362 (diff)
Drop databases only if they do exist
Diffstat (limited to 'test/test_data/exploit_test.sql')
-rw-r--r--test/test_data/exploit_test.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_data/exploit_test.sql b/test/test_data/exploit_test.sql
index dce733ff4c..6ac7fba4b3 100644
--- a/test/test_data/exploit_test.sql
+++ b/test/test_data/exploit_test.sql
@@ -16,9 +16,9 @@ SET time_zone = "+00:00";
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-DROP DATABASE `"><script>alert(200);</script>`;
-DROP DATABASE `'><script>alert(201);</script>`;
-DROP DATABASE `exploit_test`;
+DROP DATABASE IF EXISTS `"><script>alert(200);</script>`;
+DROP DATABASE IF EXISTS `'><script>alert(201);</script>`;
+DROP DATABASE IF EXISTS `exploit_test`;
--
-- Database: `"><script>alert(200);</script>`