summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/maxdb.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/maxdb.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/maxdb.py')
-rw-r--r--lib/sqlalchemy/databases/maxdb.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/sqlalchemy/databases/maxdb.py b/lib/sqlalchemy/databases/maxdb.py
index 262a8f0fc..b3f232a17 100644
--- a/lib/sqlalchemy/databases/maxdb.py
+++ b/lib/sqlalchemy/databases/maxdb.py
@@ -466,6 +466,7 @@ class MaxDBResultProxy(engine_base.ResultProxy):
class MaxDBDialect(default.DefaultDialect):
+ name = 'maxdb'
supports_alter = True
supports_unicode_statements = True
max_identifier_length = 32
@@ -1092,15 +1093,6 @@ def _autoserial_column(table):
return None, None
-def descriptor():
- return {'name': 'maxdb',
- 'description': 'MaxDB',
- 'arguments': [
- ('user', "Database Username", None),
- ('password', "Database Password", None),
- ('database', "Database Name", None),
- ('host', "Hostname", None)]}
-
dialect = MaxDBDialect
dialect.preparer = MaxDBIdentifierPreparer
dialect.statement_compiler = MaxDBCompiler