[PHPLIB-DEV] [sitnikov <<i>email protected</i>>: PHPLib bug] email protected>: PHPLib bug]",1); ?> From: Sascha Schumann (sascha <email protected>)
Date: 03/09/00

Could someone have a look at this please?

- Sascha

attached mail follows:


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 $

....

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

-
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.