update sql语句执行两次返回的影响行数有时为0

update table_user set hdidtemp = 'l/BCZaediOeldRUown7Dew===' where name='zhangxib_new'

同样一条这样的语句执行第二次,在window下的mysql(MySQL v5.1.msi)返回:影响列数: 1
在linux下的mysql()返回:影响列数: 0
  • 服务器版本: 5.0.22
  • MySQL client version: 5.0.22
  • Protocol version: 10
  • 服务器: Localhost via UNIX socket


暂时不知道是操作系统还是mysql版本的原因




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13523843/viewspace-441041/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/13523843/viewspace-441041/

你可能感兴趣的:(update sql语句执行两次返回的影响行数有时为0)