Re: [PHPLIB-DEV] [sitnikov <<i>email protected</i>>: PHPLib bug] email protected>: PHPLib bug]",1); ?> From: Kirill Maximov (kir <email protected>)
Date: 03/10/00

Sascha Schumann wrote:
>
> Could someone have a look at this please?
>
> - Sascha
>
> ------------------------------------------------------------------------
>
> Subject: PHPLib bug
> Date: Thu, 9 Mar 2000 23:28:23 +0200
> From: Andrew Sitnikov <sitnikov <email protected>>
> Organization: Infonet AS
> To: Sascha Schumann <sascha <email protected>>
>
> Hello Sascha ,
>
> I think, what in ct_mysql.inc you have error
>
> ## $Id: ct_sql.inc,v 1.9 1999/07/07 20:43:44 sas Exp $

  Well, ct_sql.inc or ct_mysql.inc ? ;-)

  Anyway, current CVS code contains correct versions of these function
  in both files.

  Regards,
  KIR

>
> ....
>
> function ac_get_lock() {
> if ( "" != $this->database_lock_semaphore ) {
> while ( ! $this->db->query("SELECT get_lock('%s')",
> $this->database_lock_semaphore) ) {
> $t = 1 + time(); while ( $t > time() ) { ; }
> }
> }
> }
>
> function ac_release_lock() {
> if ( "" != $this->database_lock_semaphore ) {
> $this->db->query("SELECT release_lock('%s')",
> $this->database_lock_semaphore);
> }
> }
>
> Where sprintf ? :)
>
>
> Best regards,
> Andrew Sitnikov
> e-mail : sitnikov <email protected>
> GMS : (+372) 56 49 11 09
> Phone : (+372) 6571805

-- 
-----  -----  -----  -----  -----  -----  -----  -----
Kirill Maximov                     maximov <email protected>  
Astrive, Inc.                   http://www.astrive.com
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.