Max execution time while doing DB queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was wondering how i can limit a script from waiting too long for
a database query to return.

The problem is that it will wait an infinite time while performing a query on a
database when there is for example a lock on a table. I want it to exit/fail
when a set amount of time has passed.

set_time_limit() will not work because it does not have any affect on input.

Am i overlooking a function?

--
Jeroen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux