This commit is contained in:
parent
1133750629
commit
c94ca96226
|
@ -31,9 +31,9 @@ BEGIN
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF vRetentionDays THEN
|
IF vRetentionDays THEN
|
||||||
SET vStarted = util.VN_NOW();
|
SET vStarted = VN_NOW();
|
||||||
SET vSchemaNameQuoted = util.quoteIdentifier(vSchemaName);
|
SET vSchemaNameQuoted = quoteIdentifier(vSchemaName);
|
||||||
SET vTableNameQuoted = util.quoteIdentifier(vTableName);
|
SET vTableNameQuoted = quoteIdentifier(vTableName);
|
||||||
SET vDated = VN_CURDATE() - INTERVAL vRetentionDays DAY;
|
SET vDated = VN_CURDATE() - INTERVAL vRetentionDays DAY;
|
||||||
|
|
||||||
EXECUTE IMMEDIATE CONCAT(
|
EXECUTE IMMEDIATE CONCAT(
|
||||||
|
|
Loading…
Reference in New Issue