diff options
author | Michal Čihař <michal@cihar.com> | 2011-08-17 16:18:19 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2011-08-17 16:18:19 +0400 |
commit | c04a557c02c590eb141661780f731540d46ba74c (patch) | |
tree | 096b42110c85838fdcb159675500dbfe47c264b5 /test/test_data/exploit_test.sql | |
parent | 798e9c44bdd55be8b8822b0af6db6bfcf4d51362 (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.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 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>` |