fixed a bug where the order by was being destructively modified,
authorRuss Tyndall <russ@acceleration.net>
Mon, 9 Jul 2012 21:11:54 +0000 (17:11 -0400)
committerRuss Tyndall <russ@acceleration.net>
Mon, 9 Jul 2012 21:11:54 +0000 (17:11 -0400)
commitb475f491ffc24cacd2d7250e356a3d3a15532e94
tree622729422ada001052f5ddb6a698374a68047822
parent3b7cb72a2117fe5e4599da811c9e2821de02824b
fixed a bug where the order by was being destructively modified,
causing odd caching issues when the selected object was not statically
known (eg unreferenced tables could show up in the query if they were
cached by a previous call through this function.  I replaced this code
with a non-destructive variant which should solve this.

Thanks to Philipp Marek for the bug report
ChangeLog
sql/oodml.lisp