Pregunta

Configuración: Firebirdsql 2.1.3 Win32, PHP 5.3 (instalado con XAMPP) Cuando intento actualizar un registro editado en una aplicación de escritorio o IBExpert, y hay un punto muerto, IBase_Execute solo cuelga, no devuelve ningún valor ni aumenta una excepción . Cuando no hay un punto muerto, todo funciona bien. ¿Alguna idea de cómo atrapar esto?

¿Fue útil?

Solución

I found the problem.

By default, the transactions are IBASE_WAIT, so it waits until the record is no longer edited. You have to start a transaction with the IBASE_NOWAIT option to get an immediate response in a deadlock situation.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top