diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-10 13:13:41 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-10 13:13:41 -0400 |
commit | 17936043c6be46ac339091a6c99b0c383513db2a (patch) | |
tree | 7d9b12bd342a98591d22e0148640693498ba8994 /lib/sqlalchemy/dialects/mysql/oursql.py | |
parent | 5eaeb70104d342d0b7fd4b5399dfcd672796b090 (diff) | |
download | sqlalchemy-17936043c6be46ac339091a6c99b0c383513db2a.tar.gz |
- [feature] Added "raise_on_warnings" flag to OurSQL
dialect. [ticket:2523]
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/oursql.py')
-rw-r--r-- | lib/sqlalchemy/dialects/mysql/oursql.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/oursql.py b/lib/sqlalchemy/dialects/mysql/oursql.py index 7a51c9e4e..1be3f3b2a 100644 --- a/lib/sqlalchemy/dialects/mysql/oursql.py +++ b/lib/sqlalchemy/dialects/mysql/oursql.py @@ -204,6 +204,7 @@ class MySQLDialect_oursql(MySQLDialect): util.coerce_kw_type(opts, 'port', int) util.coerce_kw_type(opts, 'compress', bool) util.coerce_kw_type(opts, 'autoping', bool) + util.coerce_kw_type(opts, 'raise_on_warnings', bool) util.coerce_kw_type(opts, 'default_charset', bool) if opts.pop('default_charset', False): |