From 93c706a03bc809e21208cb6e9f76b23ed6d2ff19 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 6 Jul 2008 00:47:56 +0000 Subject: - 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 --- lib/sqlalchemy/databases/mysql.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'lib/sqlalchemy/databases/mysql.py') 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... -- cgit v1.2.1