Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] SQLSource encoding

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] SQLSource encoding
  • Date: Thu, 25 Jul 2013 17:21:11 +0200


Le 25/07/13 16:49, Guillaume Rousse a écrit :
address@concealed">

Everything related to parameter binding in do_query and do_prepared_query can be discarded, those methods don't exist anymore, and binding is now delegated to DBI internals.
As we speak about it: why not keeping a single function to do all the query business?
We always do the same succession of calls to do a query to database. I refactored all them in do_query and even planned to cover the final mile by fetching data in this sub and sending the hashref or arrayref we needed actually in the code.
address@concealed">

--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Infrastructure pour les Services Informatiques
 

Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 

www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page