please:
* tell the SQLyog version
* tell what operation you are doing.
* also: can you reproduce the problem – still have the case?
* please also attacte the CREATE statement for the table to ensure that we test with EXACTLY the same datatypes as you have.
actually the MySQL parser is not very accurate always. So the actual error could be in the line before!