The branch, master has been updated
via c04a557c02c590eb141661780f731540d46ba74c (commit)
from 798e9c44bdd55be8b8822b0af6db6bfcf4d51362 (commit)
- Log -----------------------------------------------------------------
commit c04a557c02c590eb141661780f731540d46ba74c
Author: Michal Čihař <michal(a)cihar.com>
Date: Wed Aug 17 14:18:19 2011 +0200
Drop databases only if they do exist
-----------------------------------------------------------------------
Summary of changes:
test/test_data/exploit_test.sql | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/test_data/exploit_test.sql b/test/test_data/exploit_test.sql
index dce733f..6ac7fba 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>`
hooks/post-receive
--
phpMyAdmin