summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-04-23 17:35:42 +0000
committerGreg Sabino Mullane2009-04-23 17:35:42 +0000
commit9940b6f50fb8b3e9ebf38a80ce755c3d85182ba6 (patch)
tree1c7f148e9ea597aec09b59f95b59344083dc1d66
parentb4cfc83022f50f31c3da483968f5632b868ce8af (diff)
ANALYZE first, in case this is a brand new cluster for this test.
-rw-r--r--t/02_last_analyze.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/02_last_analyze.t b/t/02_last_analyze.t
index 912dd15cd..9eef6f8dd 100644
--- a/t/02_last_analyze.t
+++ b/t/02_last_analyze.t
@@ -53,6 +53,7 @@ $t = qq{$S flags no-match-user};
like ($cp->run(qq{-w 0 --includeuser=gandalf}), qr{No matching.*user}, $t);
local $dbh->{Warn};
+$dbh->do('ANALYZE');
$dbh->do(qq{DROP TABLE IF EXISTS $testtbl});
$dbh->do(qq{CREATE TABLE $testtbl AS SELECT 123::INTEGER AS a FROM generate_series(1,200000)});
$dbh->commit();