X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Ftable.lisp;h=6491fade2719c1e510fe235eed0189c5f6baea79;hp=52b5c1a155143c3b96a51228b9bfe4d504f2bc31;hb=a4097e19c5157e87b9991549bc44f3ef598aeb90;hpb=db9892632e6eb7869aea7a94c16b523a82de1501 diff --git a/sql/table.lisp b/sql/table.lisp index 52b5c1a..6491fad 100644 --- a/sql/table.lisp +++ b/sql/table.lisp @@ -173,6 +173,8 @@ specification of a table to drop the index from." (unless (index-exists-p index-name :database database) (return-from drop-index))) (:error t)) + (unless (db-use-column-on-drop-index? database) + (setq on nil)) (execute-command (format nil "DROP INDEX ~A~A" index-name (if (null on) "" (concatenate 'string " ON "