Hi, After setting a custom collator function with `sqlite3_create_collation`, is it possible to set or return an error value to indicate that the collating should stop immediately from within the callback function?
Basically I'm looking at a bug in PHP using the SQLite extension when: * A user has set a function to use as the collation. * That function throws an exception. Due to the nature of PHP, it would be expected that the processing of the collation should stop immediately. However I can't see how to indicate to SQLite that an error has occurred, and so the function is called for the remaining rows that need to be ordered. btw this is in no way a feature request - if it's not possible I'm just going to update the manual to say that throwing exceptions in the collator callback will give undefined behavior. cheers Dan _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

