From 2c69ef4d171d214a7d54b598184dadb864704852 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Mon, 26 Mar 2012 15:57:24 -0400 Subject: [PATCH] use output-sql-where-clause when rendering update statements --- sql/expressions.lisp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sql/expressions.lisp b/sql/expressions.lisp index 281da96..9335ae0 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -871,9 +871,7 @@ uninclusive, and the args from that keyword to the end." (output-sql table database) (write-string " SET " *sql-stream*) (output-sql (apply #'vector (update-assignments)) database) - (when where - (write-string " WHERE " *sql-stream*) - (output-sql where database)))) + (output-sql-where-clause where database))) t) ;; CREATE TABLE -- 2.34.1