r9403: Rework conditions to be CommonSQL backward compatible
[clsql.git] / sql / syntax.lisp
index c265f634917769e625648c89e7b2d864096269d5..0202cedc00dddaa570c6bfc1f30e25709f14d882 100644 (file)
@@ -133,7 +133,7 @@ reader syntax is disabled."
                             :params sqlparam
                             :type sqltype)))))
        (t
-        (error 'clsql-sql-syntax-error :reason "bad expression syntax"))))
+        (error 'sql-user-error :message "bad expression syntax"))))
 
 
 ;; Exported functions for dealing with SQL syntax