Jul 29
Justin Dennis [ds] Leaving Open MySQL Connections
Jul 29, 2015; 19:26
Justin Dennis
[ds] Leaving Open MySQL Connections
I have noticed the following quirk with ds:
This properly closes the MySQL connection:
#customer = activerow(::db.customer)
*$customerID > 0 ? #customer->getrow($customerID)*
#customercontactlog = activerow(::db.customercontactlog)
If I move line 2 down:
#customer = activerow(::db.customer)
#customercontactlog = activerow(::db.customercontactlog)
*$customerID > 0 ? #customer->getrow($customerID)*
This leaves an open connection on MySQL ("sleep" state) every time it runs.
Any ideas why the syntax causes this behavior? Have I got this all wrong?
Thanks for any light you can shed.
- Justin
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 30
Ke Carlton Re: [ds] Leaving Open MySQL Connections
Jul 30, 2015; 03:26
Ke Carlton
Re: [ds] Leaving Open MySQL Connections
Jul 30
Justin Dennis Re: [ds] Leaving Open MySQL Connections
Jul 30, 2015; 06:13
Justin Dennis
Re: [ds] Leaving Open MySQL Connections