Subject | Re: [ib-support] isql metadata extraction and script execution |
---|---|
Author | Claudio Valderrama C. |
Post date | 2002-03-22T07:35:57Z |
""iananewby"" <ian@...> wrote in message
news:a7ckuo+utkh@......
procedure creation that failed.
:-)
SET AUTODDL only toggles a variable inside isql, it can't crash the engine.
Its effects can do that, later.
causes havoc. Can you isolate it to a small case?
and metadata transactions separate.
If you use the isql from my site, it will show script-related line numbers
for errors in a batch job.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing
news:a7ckuo+utkh@......
> Hi All,This is the way it's created, supposedly to be able to rollback manually a
> I am currently exreacting meta data for inclusion into CVS. I have
> noticed that the meta data extraction in isql (windows, Firebird RC2
> dialect 1 database) puts a SET AUTODDL OFF before stored procedures
> are created and a SET AUTODDL ON after stored procedures are
> modified.
procedure creation that failed.
> If I run this script to create a new database the server crashesWould you bet your head that the problem is at that line?
> on the SET AUTODDL ON line.
:-)
SET AUTODDL only toggles a variable inside isql, it can't crash the engine.
Its effects can do that, later.
> Should there be another pair of OFF/ONsNot that I'm aware. You probably hit a special case of dependencies that
> and a commit between the CREATE PROCEDURE and the ALTERPROCEDURE?
causes havoc. Can you isolate it to a small case?
> If I remove all the SET AUTODDL ... commands the database restoresAs soon a DDL command is issued, isql sends a commit. Also, it keeps data
> correctly.
and metadata transactions separate.
> Another gripe, is there any way of sending both the output and the-m will merge stdout and stderr
> errors from isql into the same file so It is possible to find which
> lines cause the problems?
If you use the isql from my site, it will show script-related line numbers
for errors in a batch job.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing