From 9cbe3413cb684693757aa694063cc8322fc96c9e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 31 May 2008 03:40:49 +0000 Subject: [PATCH] Migrate oracle script dropping commits - even commits within functions (autonomous) - this leads to errors And finally is useless in oracle because every DDL issue a commit --- migration/migrate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migration/migrate.sh b/migration/migrate.sh index f426a2b73e..9d4f6c9213 100644 --- a/migration/migrate.sh +++ b/migration/migrate.sh @@ -30,7 +30,7 @@ do for file in $DIR/*.sql; do echo "SELECT '`basename $file`' AS Filename FROM dual;" echo - cat $file | dos2unix | sed 's/commit[ ]*;//I' + cat $file | dos2unix echo echo done @@ -41,7 +41,7 @@ then for file in $DIRINI/../processes_post_migration/*.sql; do echo "SELECT '`basename $file`' AS Filename FROM dual;" echo - cat $file | dos2unix | sed 's/commit[ ]*;//I' + cat $file | dos2unix echo echo done @@ -51,7 +51,7 @@ then for file in $DIRINI/../my_processes_post_migration/*.sql; do echo "SELECT '`basename $file`' AS Filename FROM dual;" echo - cat $file | dos2unix | sed 's/commit[ ]*;//I' + cat $file | dos2unix echo echo done