Update comment for substrFunc(). Added additional SUBSTR() test cases.

FossilOrigin-Name: d7b3801dc7fad1b002f892fb5d82047ebff98369
This commit is contained in:
shaneh
2009-11-12 05:04:50 +00:00
parent 35451c6acd
commit 779b8f126e
4 changed files with 522 additions and 18 deletions
+2
View File
@@ -157,6 +157,8 @@ static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
** If x is a blob, then we count bytes.
**
** If p1 is negative, then we begin abs(p1) from the end of x[].
**
** If p2 is negative, return the p2 characters preceeding p1.
*/
static void substrFunc(
sqlite3_context *context,