From 92df3f1f0ce2a2fe5d755deedfe9b09c7e53377e Mon Sep 17 00:00:00 2001
From: Patrick Keist
Date: Thu, 9 May 2019 19:07:07 +0200
Subject: [PATCH] Changed StoredProcedure LogClear because i changed Field-Name
Id in Table v_logentries
---
MySQL/Skript_DDL.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MySQL/Skript_DDL.sql b/MySQL/Skript_DDL.sql
index 1af19e2..27ba977 100644
--- a/MySQL/Skript_DDL.sql
+++ b/MySQL/Skript_DDL.sql
@@ -229,7 +229,7 @@ CREATE PROCEDURE LogClear
BEGIN
DELETE FROM v_logentries
- WHERE _logentries_id = v_logentries_id;
+ WHERE _logentries_id = id;
UPDATE Log
SET is_acknowledged = 1