SQL has no portable boolean true literal (really). SQLite3 does not
understand `TRUE'. Use `1=1' instead.
This means that mg-show-flight-runvars -a will work in standalone
mode.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: New patch
$_ = shift @ARGV;
last if m/^\-\-?$/;
if (m/^-a$/) {
- $synthcond = 'TRUE';
+ $synthcond = '(1=1)';
} else {
die "$_ ?";
}
}
my @flightsq_params;
- my $flightsq_jobcond='TRUE';
+ my $flightsq_jobcond='(1=1)';
if (defined $job) {
push @flightsq_params, $job;
$flightsq_jobcond = <<END;