next up previous contents index
Next: Error msgs Up: XSB - Oracle Interface Previous: Demo   Contents   Index


Limitations

The default limit on open cursors per session in most Oracle installations is 50, which is also the default limit for our interface. There is also a limit imposed by the XSB interface of 100 cursors, which can be changed upon request 7.1. If your Oracle installation allows more than 50 cursors but less then 100 then change the line
 
#define MAX_OPEN_CURSORS 20
in XSB_DIR/emu/orastuff.pc to your new value, and uncomment enough many cases to match the above number of cursors plus one, in the switch statements. Currently this number is 21. Then re-build the system. In XSB_DIR/emu/orastuff.pc we provide code for up to 100 cursors. The last 80 of these cursors are currently commented out.



Baoqiu Cui
2000-04-23