Prev: HTML_QuickForm2: Array renderer 'errors' does not contain formerrors
Next: [ANNOUNCEMENT] PHP_CodeSniffer-1.3.0a1 (alpha) Released.
From: "Sergio Charpinel Jr." on 9 Jul 2010 11:11 Hi, How can I cancel a query using DB module? Thanks in advance. -- Sergio Roberto Charpinel Jr.
From: Michael Gauthier on 9 Jul 2010 11:54 On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote: > Hi, > > How can I cancel a query using DB module? > Hi Sergio, What do you mean by cancel? Do you mean begin a transaction, perform some actions and then roll-back the transaction? Cheers, Mike
From: "Sergio Charpinel Jr." on 9 Jul 2010 13:36 I mean, send a query to db server and cancel it. Like: http://www.php.net/manual/en/function.pg-cancel-query.php . There is a similar function for mysql too. Cheers. 2010/7/9 Michael Gauthier <mike(a)silverorange.com> > On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote: > > Hi, > > > > How can I cancel a query using DB module? > > > Hi Sergio, > > What do you mean by cancel? Do you mean begin a transaction, perform > some actions and then roll-back the transaction? > > > Cheers, > > > Mike > > -- Sergio Roberto Charpinel Jr.
From: Mark Steudel on 9 Jul 2010 14:18 Actually I don't see it for mysql... On Fri, Jul 9, 2010 at 1:36 PM, Sergio Charpinel Jr. <sergiocharpinel(a)gmail.com> wrote: > I mean, send a query to db server and cancel it. Like: > http://www.php.net/manual/en/function.pg-cancel-query.php . There is a > similar function for mysql too. > > Cheers. > > 2010/7/9 Michael Gauthier <mike(a)silverorange.com> > >> On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote: >> > Hi, >> > >> > How can I cancel a query using DB module? >> > >> Hi Sergio, >> >> What do you mean by cancel? Do you mean begin a transaction, perform >> some actions and then roll-back the transaction? >> >> >> Cheers, >> >> >> Mike >> >> > > > -- > Sergio Roberto Charpinel Jr. > -- ----------------------------------------- Mark Steudel P: 425.298.7244 F: 206.260.3021 msteudel(a)gmail.com .. : Work : . http://www.mindfulinteractive.com .. : Play : . http://www.steudel.org/blog
From: "Sergio Charpinel Jr." on 9 Jul 2010 14:34
Mark, Sorry, you are right.. I thought that I've seen something similar for mysql. Let me do another question. Is there any support for pg_cancel_query ? 2010/7/9 Mark Steudel <msteudel(a)gmail.com> > Actually I don't see it for mysql... > > On Fri, Jul 9, 2010 at 1:36 PM, Sergio Charpinel Jr. > <sergiocharpinel(a)gmail.com> wrote: > > I mean, send a query to db server and cancel it. Like: > > http://www.php.net/manual/en/function.pg-cancel-query.php . There is a > > similar function for mysql too. > > > > Cheers. > > > > 2010/7/9 Michael Gauthier <mike(a)silverorange.com> > > > >> On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote: > >> > Hi, > >> > > >> > How can I cancel a query using DB module? > >> > > >> Hi Sergio, > >> > >> What do you mean by cancel? Do you mean begin a transaction, perform > >> some actions and then roll-back the transaction? > >> > >> > >> Cheers, > >> > >> > >> Mike > >> > >> > > > > > > -- > > Sergio Roberto Charpinel Jr. > > > > > > -- > ----------------------------------------- > Mark Steudel > P: 425.298.7244 > F: 206.260.3021 > msteudel(a)gmail.com > > . : Work : . > http://www.mindfulinteractive.com > > . : Play : . > http://www.steudel.org/blog > -- Sergio Roberto Charpinel Jr. |