diff MySQL/Plugins/CreateInstance.sql @ 144:740d9829f52e

handling of errors if MySQL user cannot CREATE TRIGGER
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Mar 2020 12:10:52 +0100
parents 441a472bfd93
children
line wrap: on
line diff
--- a/MySQL/Plugins/CreateInstance.sql	Tue Feb 04 09:34:56 2020 +0100
+++ b/MySQL/Plugins/CreateInstance.sql	Thu Mar 12 12:10:52 2020 +0100
@@ -1,3 +1,5 @@
+DROP PROCEDURE IF EXISTS CreateInstance;
+
 CREATE PROCEDURE CreateInstance(
        IN patient TEXT,
        IN study TEXT,