Subject | RE: [IBO] executing already or not in passive mode |
---|---|
Author | Jason Wharton |
Post date | 2007-03-13T00:36:18Z |
> Now I really feel stupid, not seeing the obviousYou should not feel stupid as this isn't obvious, not was your code, at
first glance, confusing. You simply want to be sure your database exists
when connecting to it.
What is happening is you are getting the BeforeConnect event being called
twice because it is also getting called during the process of the script
creating the database, which also at the same time is gaining a connection
and thus the subsequent call to BeforeConnect.
Regards,
Jason Wharton