From 0d0094fe3842bd1996f50f4b51d0b6ab856556e3 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Wed, 2 May 2007 01:00:03 +0000 Subject: - Expanded on the MySQL ENUM 'strict' documentation a little bit. - Oops, clean up after enum unitttest. --- lib/sqlalchemy/databases/mysql.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/sqlalchemy/databases/mysql.py') diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index d7f65b80b..9154d03d8 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -283,7 +283,10 @@ class MSEnum(MSString): strict Defaults to False: ensure that a given value is in this ENUM's - range of permissible value when inserting or updating rows. + range of permissible values when inserting or updating rows. + Note that MySQL will not raise a fatal error if you attempt to + store an out of range value- an alternate value will be stored + instead. (See MySQL ENUM documentation.) charset Defaults to None: a column-level character set for this string -- cgit v1.2.1