From 22b46564e106dbc8aede393466b21eecc321883d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 4 Aug 2011 17:21:51 +0200 Subject: [PATCH] Add testcase for another way of escaping --- test/libraries/common/PMA_extractFieldSpec_test.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/libraries/common/PMA_extractFieldSpec_test.php b/test/libraries/common/PMA_extractFieldSpec_test.php index 9aa337d1b5..ecb9bd08ec 100644 --- a/test/libraries/common/PMA_extractFieldSpec_test.php +++ b/test/libraries/common/PMA_extractFieldSpec_test.php @@ -61,6 +61,19 @@ class PMA_extractFieldSpec_test extends PHPUnit_Extensions_OutputTestCase 'attribute' => ' ', ), ), + array( + "SET('''a','b')", + array( + 'type' => 'set', + 'print_type' => "set('''a', 'b')", + 'binary' => false, + 'unsigned' => false, + 'zerofill' => false, + 'spec_in_brackets' => "'''a','b'", + 'enum_set_values' => array("'a", 'b'), + 'attribute' => ' ', + ), + ), array( "INT UNSIGNED zerofill", array(