Mercurial > urweb
comparison caching-tests/test.ur @ 2209:0ca11d57c175
Cleans up interface (it's now a command line option) and renames project to "sqlcache" in the all-one-word style. Still has issues to do with concurrency, retrying transactions, and foreign function calls that either rely on state or have side effects.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sat, 31 May 2014 03:08:16 -0400 |
parents | 01c8aceac480 |
children | 365727ff68f4 |
comparison
equal
deleted
inserted
replaced
2208:cb74460f046a | 2209:0ca11d57c175 |
---|---|
1 table foo01 : {Id : int, Bar : string} PRIMARY KEY Id | 1 table foo01 : {Id : int, Bar : string} PRIMARY KEY Id |
2 table foo10 : {Id : int, Bar : string} PRIMARY KEY Id | 2 table foo10 : {Id : int, Bar : string} PRIMARY KEY Id |
3 | 3 |
4 fun flush01 () : transaction page = | 4 fun flush01 () : transaction page = |
5 dml (INSERT INTO foo01 (Id, Bar) VALUES (42, "baz01")); | |
6 dml (UPDATE foo01 SET Bar = "baz01" WHERE Id = 42); | 5 dml (UPDATE foo01 SET Bar = "baz01" WHERE Id = 42); |
7 return <xml><body> | 6 return <xml><body> |
8 Flushed 1! | 7 Flushed 1! |
9 </body></xml> | 8 </body></xml> |
10 | 9 |