ernjvr commented on issue #2449: WIP CLOUDSTACK-10278 idempotent column addition
URL: https://github.com/apache/cloudstack/pull/2449#issuecomment-365621097
 
 
   @borisstoyanov yes, it's the way com/cloud/utils/db/ScriptRunner.java reads 
the META-INF/db/schema-41000to41100.sql file. It reads each line at a time and 
executes the sql as soon as it reads in a line that ends with a semicolon 
delimeter at the end. my stored procedure had many lines ending with 
semicolons. So it executed an incomplete stored procedure definition. I fixed 
by moving all lines that end with a semicolon onto one line, so that it can 
read in and execute the whole stored proc definition.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to