From ec945c289545dad5c363cdb0894ce626006a2941 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Mon, 27 Mar 2006 10:28:34 +0000 Subject: [PATCH] #24749, Prefix UPDATE & DROP TABLE IF EXISTS statements, patch by Axel --- scripts/prefix.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/prefix.sh b/scripts/prefix.sh index 5c5bb1f711b..d349b8a9c5b 100644 --- a/scripts/prefix.sh +++ b/scripts/prefix.sh @@ -23,5 +23,7 @@ sed "s/^CREATE TABLE /CREATE TABLE $PREFIX/; s/^ALTER SEQUENCE /ALTER SEQUENCE $PREFIX/; s/^CREATE INDEX \(.*\) ON /CREATE INDEX $PREFIX\\1 ON $PREFIX/; s/^CREATE UNIQUE INDEX \(.*\) ON /CREATE UNIQUE INDEX $PREFIX\\1 ON $PREFIX/; + s/^UPDATE \(.*\) SET /UPDATE $PREFIX\\1 SET /; + s/^DROP TABLE IF EXISTS /DROP TABLE IF EXISTS $PREFIX/; " $2