summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-07-06 00:47:56 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-07-06 00:47:56 +0000
commit93c706a03bc809e21208cb6e9f76b23ed6d2ff19 (patch)
tree7ef22c33d3f91def664acc5761b62bb06ccb8b80 /lib/sqlalchemy/databases/mysql.py
parent0f42004deeab823398571986ff4a75eb536267ea (diff)
downloadsqlalchemy-93c706a03bc809e21208cb6e9f76b23ed6d2ff19.tar.gz
- re-fixed the fix to the prefixes fix
- removed ancient descriptor() functions from dialects; replaced with Dialect.name - removed similarly ancient sys.modules silliness in Engine.name
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r--lib/sqlalchemy/databases/mysql.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py
index ed01b77d7..e2ee5330c 100644
--- a/lib/sqlalchemy/databases/mysql.py
+++ b/lib/sqlalchemy/databases/mysql.py
@@ -1380,16 +1380,6 @@ ischema_names = {
'year': MSYear,
}
-def descriptor():
- return {'name':'mysql',
- 'description':'MySQL',
- 'arguments':[
- ('username',"Database Username",None),
- ('password',"Database Password",None),
- ('database',"Database Name",None),
- ('host',"Hostname", None),
- ]}
-
class MySQLExecutionContext(default.DefaultExecutionContext):
def post_exec(self):
@@ -1413,7 +1403,7 @@ class MySQLExecutionContext(default.DefaultExecutionContext):
class MySQLDialect(default.DefaultDialect):
"""Details of the MySQL dialect. Not used directly in application code."""
-
+ name = 'mysql'
supports_alter = True
supports_unicode_statements = False
# identifiers are 64, however aliases can be 255...