Fixed omission in [3872].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2006-09-27 02:47:19 +00:00
parent 6068f3e4cb
commit a834f213bd
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class DatabaseWrapper(local):
m = server_version_re.match(self.connection.get_server_info())
if not m:
raise Exception('Unable to determine MySQL version from version string %r' % self.connection.get_server_info())
self.server_version = m.groups()
self.server_version = tuple([int(x) for x in m.groups()])
return self.server_version
supports_constraints = True