Strip off trailing end delimiter in createProcedure on update, include on updateSql

Description

In Oracle especially, if you have a file that ends in a delimiter like / that you are loading with createProcedure it does not strip off the trailing delimiter like it does with sqlFile.

This leads to a "Package won't compile: PLS-00103: Encountered the symbol "/" The symbol "/" was ignored." error.

The end delimiter should still be included if running in updateSql mode

Environment

All

Status

Assignee

Unassigned

Reporter

Nathan Voxland

Labels

None

Fix versions

Affects versions

Priority

Major
Configure