[tinysql] getString error

Petr Aubrecht paubrecht@volny.cz
Wed, 21 Jan 2004 00:34:38 +0100


Hi,

I downloaded the latest CVS version and have found a collection of bugs:

- it requires a lot of adding methods as the classes don't meet their
interfaces (approximately six classes and ten methods)

- I have found also a bug in parsing DBF file: class dbfFileConverter,
method seekEnd, line 424:
was
    while ((b[counter] != ' ') && (counter > 0))
fixed
    while ((b[counter] == ' ') && (counter > 0))

Your version stripped the last non-white part of the string. E.g. 
"AB CD" (for string with length 5) it returned "AB".

Regardless this error, tinySQL is great! Thanks for it.

Petr