comparison caching-tests/test.ur @ 2238:7f92d70a326e

Only use string (rather than numeric, etc.) primitives in parsed SQL statements.
author Ziv Scully <ziv@mit.edu>
date Mon, 06 Jul 2015 01:31:04 -0700
parents fab8c1f131a5
children f70a91f7810d
comparison
equal deleted inserted replaced
2237:e79ef5792c8b 2238:7f92d70a326e
12 </body></xml> 12 </body></xml>
13 13
14 14
15 fun flush id = 15 fun flush id =
16 dml (UPDATE tab 16 dml (UPDATE tab
17 SET Val = 42 17 SET Id = 29, Val = 42
18 WHERE Id = {[id]} OR Id = {[id - 1]} OR Id = {[id + 1]}); 18 WHERE Id = {[id]} OR Id = {[id - 1]} OR Id = {[id + 1]});
19 return <xml><body> 19 return <xml><body>
20 Changed {[id]}! 20 Changed {[id]}!
21 </body></xml> 21 </body></xml>
22 22