summaryrefslogtreecommitdiff
path: root/test/dialect
diff options
context:
space:
mode:
authorMike Bayer <classic@zzzcomputing.com>2014-05-12 11:38:24 -0400
committerMike Bayer <classic@zzzcomputing.com>2014-05-12 11:38:24 -0400
commit0a08177b5993d47e8a21b26f3be8909432ab66b6 (patch)
treeffc1f4f01758d29efadd39529b9aa79ba73e7a6a /test/dialect
parent1abd53a3556b9593d9eba868d69c13bae3c3a7ab (diff)
parentc5a95ea8e37bfc98d5c9593638dc0c0e32351c72 (diff)
downloadsqlalchemy-0a08177b5993d47e8a21b26f3be8909432ab66b6.tar.gz
Merged in WSMcG/sqlalchemy (pull request #15)
Added optional '=' to MySQL KEY_BLOCK_SIZE regex
Diffstat (limited to 'test/dialect')
-rw-r--r--test/dialect/mysql/test_reflection.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dialect/mysql/test_reflection.py b/test/dialect/mysql/test_reflection.py
index 7494eaf43..c8fdc9310 100644
--- a/test/dialect/mysql/test_reflection.py
+++ b/test/dialect/mysql/test_reflection.py
@@ -297,6 +297,10 @@ class RawReflectionTest(fixtures.TestBase):
assert regex.match(' PRIMARY KEY (`id`)')
assert regex.match(' PRIMARY KEY USING BTREE (`id`)')
assert regex.match(' PRIMARY KEY (`id`) USING BTREE')
+ assert regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE 16')
+ assert regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE=16')
+ assert regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE = 16')
+ assert not regex.match(' PRIMARY KEY (`id`) USING BTREE KEY_BLOCK_SIZE = = 16')
def test_fk_reflection(self):
regex = self.parser._re_constraint