Just got it installed. Haven't had a chance to test the upgrade yet but my reading of the script is its still a problem. Perhaps they've fixed it in the 'write' step to set an audit ID of at least something (-1 would do) but I won't know until I test.
The easiest thing you might find is just ending each string at the '/' and starting a new one. So:
var sql="select blah blah /
blah blah";
becomes
var sql = "select blah blah ";
sql = sql + " blah blah";
That should resolve the issue. I'd also put:
uWarning(sql);
after its finished being built - that will let you see what it is thats being queried (and you can copy and paste it into an sql tool which will give you better error reporting on the SQL).
Peter