Fixing bug: 3798, correcting CHAR_LENGTH use, for blob in where clause