Hello again,

I found a problem with the example I sent earlier.  I'm fairly new to 
dealing with blob data and didn't realize that substr([some_blob], 1, 1) 
didn't return a byte value, at least not one that can be cast as its' 
decimal integer value.  I have fixed the problem by using a lookup 
[hex2dec] table, which seems to have solved the problem.  If anyone is 
interested let me know and I'll send it.

Thanks,

Tom

On 1/8/2011 4:37 PM, Thomas Olson wrote:
> Hello,
>
> I was bored so I wrote a quick recursion test that calculates a
> Fletcher32 checksum and it works!  At least I think it does, I can't
> find any test vectors for Fletcher32.  I realize it would be better to
> implement this as an extension library, but I was using it as an
> exercise to get a better feel for recursive triggers.  Below is the
> source code.
...
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to