diff options
author | Matt Harrison <matthewharrison@gmail.com> | 2008-04-07 22:42:28 +0000 |
---|---|---|
committer | Matt Harrison <matthewharrison@gmail.com> | 2008-04-07 22:42:28 +0000 |
commit | fdb9440d2e6471280a481f32c95e7abec73df3b0 (patch) | |
tree | 5c8769cd7b1f00736b689c08373a487dd04654dc /lib/sqlalchemy/databases/mysql.py | |
parent | 28ecb49eac4b366a05c52714c9e1d68bd03c36f5 (diff) | |
download | sqlalchemy-fdb9440d2e6471280a481f32c95e7abec73df3b0.tar.gz |
refactor of default_paramstyle, use paramstyle argument on Dialect to change
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index c4b8af684..a86035be5 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1420,10 +1420,10 @@ class MySQLDialect(default.DefaultDialect): # identifiers are 64, however aliases can be 255... max_identifier_length = 255 supports_sane_rowcount = True + default_paramstyle = 'format' def __init__(self, use_ansiquotes=None, **kwargs): self.use_ansiquotes = use_ansiquotes - kwargs.setdefault('default_paramstyle', 'format') default.DefaultDialect.__init__(self, **kwargs) def dbapi(cls): |