summaryrefslogtreecommitdiff
path: root/src/clojure_sql/compiler.clj
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-05-14 12:21:50 +1000
committerCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-05-14 12:21:50 +1000
commitd37dc87a15767fc48a251539875ef28df372a8cd (patch)
tree7ea76847d4cb22886ba2ed4f77b95990da77a2e0 /src/clojure_sql/compiler.clj
parentd70e99185025eeef545248321c04d885aa6a38c2 (diff)
Fix ordering issue, split out string parameters for jdbc stuff
The string parameters are now put in the query as a '?' and the string which should go in their place is now placed in an auxiliary list when the query is constructed. This should make it easier to avoid SQL injection stuff. (Although table/column names are still vulnerable to SQL injection, they should not be dynamic so the issue should be minimal.) There was also another issue where some things were used before they were declared (as a result of repl development) which has now been corrected.
Diffstat (limited to 'src/clojure_sql/compiler.clj')
0 files changed, 0 insertions, 0 deletions