On 4/3/2013 8:58 AM, Yongil Jang wrote:
For more information,
I just made some functions that handling files path.
But, if file name includes "Special characters(ex: '"') " or "Unicode" and
it is used for myFunc()
then it makes "Syntax error" error code and execution is failed.
What I want to do is to make an "WARNING" message if parameter is not
dynamic binding value for developers who would use myFunc().

If the string literal is syntactically invalid, any syntax errors would be reported at the time the statement is prepared. Naturally, a statement with syntax errors cannot be executed, so your function wouldn't be called in the first place; of course, if it's not called, it can't issue any warnings.

If your function is running, this means it's been given a valid string, whether as a string literal or a bound parameter.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to