Ignore:
Timestamp:
10/06/11 12:32:49 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: No

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

###THIS SHOULD NOT BE INCLUDED RELEASE 3.3###
Take care of the data that the version number is 3 while the definition
of MOLECULE table is along version 4. For such data, just increment
version number.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2321 r2332  
    125125         << LogIO::POST ; 
    126126      std::string outname = upgrader.upgrade(name);
    127       os << LogIO::WARN
    128          << "Data will be loaded from " << outname << " instead of "
    129          << name << LogIO::POST ;
    130       tab = Table(outname, Table::Update ) ;
     127      if ( outname != name ) {
     128        os << LogIO::WARN
     129           << "Data will be loaded from " << outname << " instead of "
     130           << name << LogIO::POST ;
     131        tab = Table(outname, Table::Update ) ;
     132      }
    131133  }
    132134  if ( type_ == Table::Memory ) {
Note: See TracChangeset for help on using the changeset viewer.