aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go')
-rw-r--r--vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go b/vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go
index c862a3b62b..9d6058ede6 100644
--- a/vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go
+++ b/vendor/github.com/go-testfixtures/testfixtures/v3/sqlserver.go
@@ -56,7 +56,7 @@ func (*sqlserver) databaseName(q queryable) (string, error) {
}
func (*sqlserver) tableNames(q queryable) ([]string, error) {
- rows, err := q.Query("SELECT table_schema + '.' + table_name FROM information_schema.tables WHERE table_name <> 'spt_values'")
+ rows, err := q.Query("SELECT table_schema + '.' + table_name FROM information_schema.tables WHERE table_name <> 'spt_values' AND table_type = 'BASE TABLE'")
if err != nil {
return nil, err
}