Differences From Artifact [e536218d]:
- File src/func.c — part of check-in [302dabe9] at 2009-08-14 16:01:24 on branch trunk — Incorporate fossil-scm version information into the build. Add the SQLITE_SOURCE_ID macro to the header. Add the sqlite3_sourceid() interface. Add the sqlite_source_id() SQL function. (user: drh size: 44816) [more...]
To Artifact [1ddc1c93]:
- File src/func.c — part of check-in [941a01eb] at 2009-11-03 22:34:36 on branch apple-osx — Customizations for OSX contributed by Apple. (user: adam size: 44911)
︙ | |||
187 188 189 190 191 192 193 194 195 196 197 198 199 200 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | + + + | if( z==0 ) return; len = 0; for(z2=z; *z2; len++){ SQLITE_SKIP_UTF8(z2); } } p1 = sqlite3_value_int(argv[1]); #ifdef SQLITE_SUBSTR_COMPATIBILITY if( p1==0 ) p1 = 1; /* <rdar://problem/6778339> */ #endif if( argc==3 ){ p2 = sqlite3_value_int(argv[2]); if( p2<0 ){ p2 = -p2; negP2 = 1; } }else{ |
︙ |