On Thu, Oct 07, 2004 at 10:33:26AM -0400, Sean McMillan wrote: > >It would only happen if the ora_auto_lob attribute has been explicitly set > >false. > >See the docs.
> Neither of these sets ora_auto_lob at all. Unfortunately, this > doesn't happen on my test machines, only on my client's, and not every time. If this code is running undr a web server then "not every time" usually means you're not always running the code you think you are. > Is there some way I can get more information about what is happening > behind the scenes? I tried printing out $dbh->errstr when this occurs, > but I get nothing. Use trace() at the $dbh level. > Also, this only occurs when pulling from one specific table. Perhaps > there's something messed up in the database, but I don't know enough > about the inner workings of CLOBs to figure what it could be. Trace level 3 should be enough to start with. Look for dbd_st_prepare in the trace and see if that line shows auto_lob0 or auto_lob1. If you can show me (an extract of) a trace showing a dbd_st_prepare with auto_lob1 that then returns an OCILobLocatorPtr object then I'll treat it as a bug. Till then it's up to you to dig deeper. Good luck. Tim.
