E patches for review: SQL update object and fix for seedVat envExtras

Thomas Leonard <tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]>
Newsgroups gmane.comp.lang.e.general
Organization IT Innovation
Message-ID <1286802651.2371.4.camel@danebury>
Two small patches, both to code I added:


1. Return an object from SQL updates, not simply an int

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/877d5e55e203c7c42515e229b163e87b2c7297eb

This allows the caller to fetch any generated keys returned by the
update.


2. Use eParser to unserialize data-E in seedVatAuthor

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/cf42d22410cfcd61219ce0e3e0b8f520840084ee

This is faster, and avoids a bug handling cycles. See:

http://www.eros-os.org/pipermail/e-lang/2010-October/013624.html



-- 
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Southampton
Hampshire SO16 7NP

Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]
http://www.it-innovation.soton.ac.uk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.