Changes between Version 38 and Version 39 of Internal/InventoryV3


Ignore:
Timestamp:
Jan 12, 2011, 8:17:19 PM (14 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v38 v39  
    55Versions:
    66
    7  * gather.rb:2.11
    8  * writer.rb:1.02 (will be deprecated)
    9  * logcopy:0.04 (will be deprecated)
     7 * gather.rb:2.17
     8 * writer.rb:1.02 (deprecated)
     9 * logcopy:0.04 (deprecated)
    1010 * inventoryv2.rb:0.05
    1111
     
    376376Finally, the sql_query method has a .flatten in the last statmenet now since the row and query operations return a nested array. I've made it a policy that the query should return a flat array of answers.
    377377
    378  
     378=== 1/12/2011 ===
     379
     380I've made a fundemental mistake in my assumptions. The update method should not just insert things that are missing, it should also check that the data matches what is currently on the database.
     381
     382I'll need an insert and update method, in component.