Project

General

Profile

Actions

Bug #2684

closed

The fileFormat migration script for Rudder 2.4 (version 1) contains a flawed condition

Added by Matthieu CERDA almost 12 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The script should be:

select count(*) from (
select xpath('/entry/*[@fileFormat=1]',data) AS x
from eventlog) as Y
where array_upper(x, 1) > 0;

and

select count(*) from (
select xpath('/entry/addPending',data) AS x
from eventlog) as Y
where array_upper(x, 1) > 0;

But on the rudder-upgrade script only the second test was inserted twice.


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #2364: Test for the XML fileformat in migration script for EventLog migration in DBReleasedMatthieu CERDA2012-03-06Actions
Actions

Also available in: Atom PDF