Forcing session variable definition (correction)

2005-03-09 Thread Homam S.A.
I'm sorry, I meant user variables, not session variables. --- "Homam S.A." <[EMAIL PROTECTED]> wrote: > I just spent quite a while hunting out a bug that > turned out to be a mis-spelled session variable > defaulting to NULL. > > Ultimately what I want is, if I used a session > veriable without

Forcing session variable definition

2005-03-09 Thread Homam S.A.
I just spent quite a while hunting out a bug that turned out to be a mis-spelled session variable defaulting to NULL. Ultimately what I want is, if I used a session veriable without defining it before hand with a SET, MySQL would return an error. Such problem doesn't exist in T-SQL, for example,