r9457: Reworked CLSQL file structure.
[clsql.git] / sql / transaction.lisp
index 6ea37b6b6b4bc93c065072f30ca0c4de7983726d..286839be9d3bb4d20d5e480be0393787d666ece5 100644 (file)
@@ -47,7 +47,7 @@
         (when (zerop (decf (transaction-level database)))
           (execute-command "COMMIT" :database database)
           (map nil #'funcall (commit-hooks (transaction database))))
-        (warn 'clsql-simple-warning
+        (warn 'sql-warning
               :format-control "Cannot commit transaction against ~A because there is no transaction in progress."
               :format-arguments (list database))))
 
@@ -57,7 +57,7 @@
           (unwind-protect 
                (execute-command "ROLLBACK" :database database)
             (map nil #'funcall (rollback-hooks (transaction database)))))
-        (warn 'clsql-simple-warning
+        (warn 'sql-warning
               :format-control "Cannot abort transaction against ~A because there is no transaction in progress."
               :format-arguments (list database))))