kombat003 / trader-dss

Automatically exported from code.google.com/p/trader-dss
0 stars 0 forks source link

functions should insert or update with their results #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently most functions fail if the data's been calculated before because
they only use 'insert' and not update 'update'.

This enhancement is to replace inserts with this type of code

update X, X where Y, Y;
if not found
  insert X, X;
endif;

this shouldn't be much slower since it will always use an index

Original issue reported on code.google.com by peter.st...@1ab.ltd.uk on 13 Jan 2010 at 12:52

GoogleCodeExporter commented 8 years ago
done what I can for the moment

Original comment by peter.st...@1ab.ltd.uk on 16 Jan 2010 at 12:22