|
From: Markus H. <mar...@mh...> - 2003-08-25 13:23:56
|
Hi Eric, could you please provide a code example? It is not obvious to me why _error_handler() is called unless the loop goes too far. If it really does, this is probably a bug somewhere else that needs to be fixed. regards, Markus Eric Bixby writes: > I'm using the error handler feature to catch bad db > queries. > > Calling dbi_result_next_row() in a while loop causes > _error_handler() to get called. I think it would be > better to ignore this condition rather than report it > as an error. This isn't an error in the context of a > while loop. Ignoring this error in my error handler > doesn't work because I need to trap when someone > requests a bad fields name which is the same error > code. > > Can the call to _error_handler() be taken out of the > baseline for this function? > -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |