Re: use deterministic within procedure

2005-12-19 Thread Gleb Paharenko
Hello. At least, some notes we have at: http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html "Currently, the DETERMINISTIC characteristic is accepted, but not yet used by the optimizer. However, if binary logging is enabled, this characteristic affects whether MySQL accepts routi

Re: use deterministic within procedure

2005-12-18 Thread wangxu
dure be executed without warning,too.And the different result also produce in the master and slave. What ever "DETERMINISTIC" option do? - Original Message - From: "Gleb Paharenko" <[EMAIL PROTECTED]> To: Sent: Friday, December 16, 2005 5:38 PM Subject: (瑞星提

Re: use deterministic within procedure

2005-12-16 Thread Gleb Paharenko
Hello. >In the example,routine_body is non-deterministic.But the function >defined "DETERNINISTIC".Do mysql throw a exception in creating >process? In my opinion, it shouldn't, but you can check this by yourself. >I want to say,if i my funciton is a non-deterministic function.B

Re: use deterministic within procedure

2005-12-15 Thread wangxu
Thursday, December 15, 2005 10:44 PM Subject: Re: use deterministic within procedure > Hello. > > In my opinion, master shouldn't have any problems, but slave can have > different data than master. > > > > >What would happen if i call a non-deterministic function t

Re: use deterministic within procedure

2005-12-15 Thread Gleb Paharenko
Hello. In my opinion, master shouldn't have any problems, but slave can have different data than master. >What would happen if i call a non-deterministic function that have been >declared deterministic. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita Thi

Re: use deterministic within procedure

2005-12-14 Thread wangxu
14, 2005 6:19 PM Subject: Re: use deterministic within procedure > Hello. > > This not a complete answer for your questions, but you can find a lot of > useful information from it (I hope). This procedure should produce > different results on master and slave if master has server_i

Re: use deterministic within procedure

2005-12-14 Thread Gleb Paharenko
Hello. This not a complete answer for your questions, but you can find a lot of useful information from it (I hope). This procedure should produce different results on master and slave if master has server_id=1 and slave has server_id=2: mysql> delimiter // mysql> CREATE PROCEDURE unsafe_