Many of the SQLkit_JLT functions take parameters consisting of a
string. These string variables are reassembled into SQL commands by
the SQLkit_JLT function and then submitted to the Just Logic
sql_server for execution. If the string variable you provide as a
parameter to a SQLkit_JLT function is incorrectly formed, an
ill-formed SQL command will be passed to the sql_server. Sometimes the
server will recognize the problem and return an error code. This code,
i.e., negative number, can be trapped by the sql_error()
function and
the code examined in the error log. More often, however, the
sql_server will not be able to recover from an ill-formed SQL
command. It will become a zombie and the program will hang.
Take a hard look at the content of the string variables you are passing as parameters and you will eventually find the problem. In stubborn cases you might consider logging the content of your parameters to a file to aid in debugging, etc.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter