Thursday, 24 March 2016

RE: [firebird-support] Do I need to "recompile" dependant stored procedure?

 

Thank you Ann for clarification.

 

I would have to dig in for example o that behavior, maybe it only seemed to me that this has occurred.

 

Best regards.

 

From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com]
Sent: Thursday, March 24, 2016 4:34 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Do I need to "recompile" dependant stored procedure?

 

 

On Thu, Mar 24, 2016 at 7:24 AM, brucedickinson@wp.pl [firebird-support] <firebird-support@yahoogroups.com> wrote:



I have two procedures:

1. PROC_A
2. PROC_B - which is using internally PROC_A.

Now, I've made some changes in PROC_A, do I need to recompile PROC_B as well?

 

That depends on what you've done to PROC_A.  Obviously, if you've changed its parameters,

then yes, you have to change and recompile PROC_B.

 

If so, what is the shortest way of doing it?

 

Again, it depends.  The easiest - brute force - way is to shutdown your server ... or at least 

all connections to that database.  Compiled procedures are memory resident and go away on

database shutdown.  If not, I think ALTER is the only alternative.


I am pretty sure I've noticed some bad behaviour of PROC_B if I've left it without recompilation.

 

You shouldn't if there haven't been changes to the parameters of A.  If you do notice something,

you should report the symptoms and error messages.

 

Good luck,

 

Ann

__._,_.___

Posted by: "Wodzu" <brucedickinson@wp.pl>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Save time and get your email on the go with the Yahoo Mail App
Get the beautifully designed, lighting fast, and easy-to-use, Yahoo Mail app today. Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.

__,_._,___

No comments:

Post a Comment