[ts-gen] shim-090313 - slow.sql missing

Bill Pippin pippin at owlriver.net
Thu Mar 19 11:12:11 EDT 2009


Sam,

You note that the file sql/slow.sql is no longer included in the
release.

> ... test the 090313 release ... it seems that the [file] sql/slow.sql
> is missing:

> sam at ks:~/shim-090313/sql$ mysql < setup.sql
> ERROR at line 23 in file: 'table.sql':
> Failed to open file 'slow.sql', error: 2

Yes, and the reference to this file in table.sql is a bug.  You can
delete that line, and then the table.sql script will work fine, and
as intended.  I'd already deleted the reference to that file in
create.sql, but I forgot to correct table.sql at the same time;
thanks for pointing this out.  I'll push a release later today with
the correction.

By the way, with respect to the 090313 release, and the old practice
of requiring that all concrete contracts (product/route pairs) be
predefined in the database: the bad old days are gone!

> There is this slow.sql in other releases, but I'm not sure it's
> the same, so ...

It's dead code, late and unlamented --- the name derived from the time
cost of the sql queries included therein.  Now that the shim works
with abstract contracts, what I call products, where the route is
dynamically defined as part of the contract expression in the text
of some command, all kinds of headaches go away.

>From the NEWS:

      * Delete: contract expression form "cid:" from the cmd language;
        ContractRow table use from the shim, and existence, from the db;
        and notion of default contract from the database.  The sql
        script slow.sql, which selected default contracts, becomes dead
        code.  ...

        The LocalSet table goes away ... [LocalFut remains]

        The Db version goes to 1.69, and the shim version to 0.91.  As
        always, examples of the currently supported forms of contract
        expressions are provided in exs/tick .

Thanks,

Bill
_______________________________________________

Direct messages to my personal email may still
gate to the list.  For those desiring privacy,
please use our commercial support email address,
support at trading-shim.com .



More information about the ts-general mailing list