27 lines
786 B
Diff
27 lines
786 B
Diff
From 6458091dbcf08c5fed462f43a52254e57ef154aa Mon Sep 17 00:00:00 2001
|
|
From: Kenichi Ishigaki <ishigaki@cpan.org>
|
|
Date: Tue, 27 Aug 2013 12:14:45 +0900
|
|
Subject: [PATCH] check only whether sort is defined or not, as sort may be
|
|
zero under the new query planner introduced in SQLite 3.8.0
|
|
|
|
---
|
|
t/53_status.t | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/t/53_status.t b/t/53_status.t
|
|
index 50b29e0..141e4ec 100644
|
|
--- a/t/53_status.t
|
|
+++ b/t/53_status.t
|
|
@@ -46,7 +46,7 @@ for my $func (@CALL_FUNCS) {
|
|
my $num_of_keys = scalar keys %$st_status;
|
|
ok $num_of_keys, "st status: $num_of_keys indicators";
|
|
my $sort = $st_status->{sort};
|
|
- ok defined $sort && $sort, "num of sort: $sort";
|
|
+ ok defined $sort, "num of sort: $sort";
|
|
}
|
|
}
|
|
|
|
--
|
|
1.8.5.1
|
|
|