Project

General

Profile

« Previous | Next » 

Revision 10166

bugfix: inputs/*/Source/data.csv for new-style datasources: need to include a blank row (plus a blank header) so that the metadata values are imported at least once instead of zero times, now that there is an installed staging table that will be iterated over. the blank row did not used to be necessary, because db_xml.put_table() has a special case for metadata-only tables with no installed table, which avoids iterating over the table's rows.

View differences:

inputs/.NCBI/Source/data.csv
1

  
2

  
inputs/.NCBI/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database
inputs/GBIF/Source/data.csv
1

  
2

  
inputs/GBIF/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/FIA/Source/data.csv
1

  
2

  
inputs/FIA/Source/test.xml.ref
16 16
        </path>
17 17
    </_setDefault>
18 18
</VegBIEN>
19
Inserted 0 new rows into database
19
Inserted 1 new rows into database
inputs/IRMNG/Source/data.csv
1

  
2

  
inputs/IRMNG/Source/test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 0 new rows into database
18
Inserted 1 new rows into database

Also available in: Unified diff