> > At first I thought "CHAR '20'" meant a character string of length 20, but > then I looked again at the funny way that '20' was written, and perhaps > it is the hex representation of an ASCII space character which has the > character code 0x20.
I'm quite certain that '20' is arising from the value I had put in the query, because if I change the value of the field marks1 in the test query, the error changes to "CHAR '30'" which is the case with the latest patch I've added.
