Bug 521312 - [SHA256] dbchange: rhnErrataFile support for multiple checksums
Summary: [SHA256] dbchange: rhnErrataFile support for multiple checksums
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Other
Version: RHN Stable
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Sebastian Skracic
QA Contact: Red Hat Network Quality Assurance
URL:
Whiteboard: US58
Depends On:
Blocks: 519193 rhn-sprint30
TreeView+ depends on / blocked
 
Reported: 2009-09-04 17:47 UTC by Sebastian Skracic
Modified: 2010-03-18 12:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-18 12:48:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Sebastian Skracic 2009-09-04 17:47:12 UTC
This is to track dbchange related work for support of multiple checksums
in errata files (packages), which is kept in rhnErrataFile, and possibly
in rhnErrataFileTmp, tables.

Comment 1 Sebastian Skracic 2009-09-07 12:55:29 UTC
DBchange files provided in:

b19fdd3ad820d5240b1b04f42ddd4a4a5a9b1f80
25aa025e633d19d20bbfab63de6183c74718fe93

Comment 2 Sebastian Skracic 2009-09-07 12:55:55 UTC
DBchange files successfully applied to webdev DB.

Comment 3 Denise Hughes 2009-09-08 19:56:23 UTC
Sebastian, please note in the bug what database changes were made.  

Thanks!
Denise

Comment 4 Sebastian Skracic 2009-09-09 11:38:48 UTC
Test Case #1:

Verify columns and data in rhnErrataFileChecksum (type: desc
rhnErrataFileChecksum)


SQL> desc rhnerratafilechecksum
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 FILE_ID                                   NOT NULL NUMBER
 CHECKSUM_TYPE_ID                          NOT NULL NUMBER
 CHECKSUM                                  NOT NULL VARCHAR2(128)

Sample data:

SQL> select * from rhnerratafilechecksum where rownum < 5;

... should output 4 rows


Test Case #2:

Verify md5column has been dropped from rhnErrataFile table:

SQL> desc rhnErrataFile

....

EXPECTED: Column MD5SUM does not appear.


Test Case #3:

Verify columns and data in rhnErrataFileChecksumTmp

SQL> desc rhnErrataFileChecksumTmp

Sample data: might not be available, since this table holds only transient data.


Test Case #4:

Verify md5column has been dropped from rhnErrataFileTmp table:

SQL> desc rhnErrataFileTmp

...

EXPECTED: Column MD5SUM does not appear.


Note You need to log in before you can comment on or make changes to this bug.