summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-04-01 19:42:54 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-04-01 19:42:54 -0400
commit47a799ecd5d03b78e5d67918302c0da2950d27b8 (patch)
treeef349b936cfe7b158f065459d931409465cfe618 /lib/sqlalchemy/schema.py
parent2563b33453dee1b55500f13421b7b50ba367a504 (diff)
downloadsqlalchemy-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.py2
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)