Permalink
Browse files

Fixed omission in [3872].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6068f3e commit a834f213bd5cf0cf794adbee67be5a614af6c219 @malcolmt malcolmt committed Sep 27, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/mysql/base.py
@@ -125,7 +125,7 @@ def get_server_version(self):
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

0 comments on commit a834f21

Please sign in to comment.