create table table_11789106(`a` point,`b` int,`c` char(2), primary key (`a`(1),`c`(1)), key (`b`)) character set latin2 engine=innodb; insert into table_11789106 values (geomfromtext('point(1 1)'),'',''); Warnings: Warning 1366 Incorrect integer value: '' for column 'b' at row 1 select `a` from table_11789106 where `b` < '1' for update; a �? �? drop table table_11789106;