有一个字段定义:getsum int(11) unsigned default '0'mysql  5.0.75-log下执行
update items set getsum=-1
不报错
mysql 5.1.36-community下执行
update items set getsum=-1
报错mysql  5.0.75-log是公司服务器上 的数据库
mysql 5.1.36-community是本机的数据库
可是我程序里是需要用到报错的,可是mysql  5.0.75-log不报错,请问怎么办呢