From: Chris Hilton Date: Tue, 10 Oct 2006 19:04:10 +0000 (+0000) Subject: Remove row requirement for returning indices X-Git-Tag: v0.11008~403 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d4f02954fd49967e1a3e569bd7eee29aef5c5f03;p=dbsrgits%2FSQL-Translator.git Remove row requirement for returning indices --- diff --git a/lib/SQL/Translator/Parser/DBI/SQLServer.pm b/lib/SQL/Translator/Parser/DBI/SQLServer.pm index 129ae36..77b8766 100644 --- a/lib/SQL/Translator/Parser/DBI/SQLServer.pm +++ b/lib/SQL/Translator/Parser/DBI/SQLServer.pm @@ -1,7 +1,7 @@ package SQL::Translator::Parser::DBI::SQLServer; # ------------------------------------------------------------------- -# $Id: SQLServer.pm,v 1.4 2006-08-26 11:37:18 schiffbruechige Exp $ +# $Id: SQLServer.pm,v 1.5 2006-10-10 19:04:10 duality72 Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002-4 SQLFairy Authors # @@ -40,7 +40,7 @@ use SQL::Translator::Schema; use Data::Dumper; use vars qw[ $DEBUG $VERSION @EXPORT_OK ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; no strict 'refs'; @@ -113,7 +113,7 @@ ORDER BY o.name, if defined; } @{$dbh->selectall_arrayref("SELECT DISTINCT object_name(id) FROM sysindexes - WHERE indid > 0 and indid < 255 and rows > 0 and + WHERE indid > 0 and indid < 255 and name not like '_WA_Sys%'")}; ## slurp objects