diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-01 19:42:54 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-01 19:42:54 -0400 |
| commit | 47a799ecd5d03b78e5d67918302c0da2950d27b8 (patch) | |
| tree | ef349b936cfe7b158f065459d931409465cfe618 /lib/sqlalchemy/schema.py | |
| parent | 2563b33453dee1b55500f13421b7b50ba367a504 (diff) | |
| download | sqlalchemy-47a799ecd5d03b78e5d67918302c0da2950d27b8.tar.gz | |
- sql
- [bug] Removed warning when Index is created
with no columns; while this might not be what
the user intended, it is a valid use case
as an Index could be a placeholder for just an
index of a certain name.
- mssql
- [feature] Added interim create_engine flag
supports_unicode_binds to PyODBC dialect,
to force whether or not the dialect
passes Python unicode literals to PyODBC
or not.
Diffstat (limited to 'lib/sqlalchemy/schema.py')
| -rw-r--r-- | lib/sqlalchemy/schema.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index d29514377..9746af228 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -2208,8 +2208,6 @@ class Index(ColumnCollectionMixin, SchemaItem): self.table = None # will call _set_parent() if table-bound column # objects are present - if not columns: - util.warn("No column names or expressions given for Index.") ColumnCollectionMixin.__init__(self, *columns) self.name = name self.unique = kw.pop('unique', False) |
