I'll look into it but it seems like its detecting a quoting style that isn't
actually there. the warning is harmless. when that "quoting" style is
ultimately removed, the warning will be removed too.
On Apr 3, 2010, at 5:19 PM, Mike Bernson wrote:
> I am getting warning using 0.6beta2.
>
> The database is mysql.
>
> I get the following warning:
> /usr/local/ltcd/lib/SQLAlchemy-0.6beta2-py2.6.egg/sqlalchemy/dialects/mysql/base.py:2241:
> SADeprecationWarning: Manually quoting ENUM value literals is deprecated.
> Supply unquoted values and use the quoting= option in cases of ambiguity.
>
> The warning comes while reflecting of following:
>
> desc mds3_Calc DATA_END_IND;
> +--------------+-----------+------+-----+---------+-------+
> | Field | Type | Null | Key | Default | Extra |
> +--------------+-----------+------+-----+---------+-------+
> | DATA_END_IND | enum('%') | YES | | NULL | |
> +--------------+-----------+------+-----+---------+-------+
>
> It is coming from _parse_column calling ENUM.
>
> _parse_column is called with line being '`DATA_END_IND` enum('%') DEFAULT
> NULL'
>
>
>
>
> yes I known that ENUM of with a single value is not very useful but
> this is not a database that I have control of.
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sqlalchemy?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.