Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6098920
  • 博文数量: 2759
  • 博客积分: 1021
  • 博客等级: 中士
  • 技术积分: 4091
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-11 14:14
文章分类

全部博文(2759)

文章存档

2019年(1)

2017年(84)

2016年(196)

2015年(204)

2014年(636)

2013年(1176)

2012年(463)

分类:

2012-08-07 12:18:45

mysql_query() cannot be used for statements that contain binary data; you must use mysql_real_query() instead. (Binary data may contain the “\0” character, which mysql_query() interprets as the end of the statement string.) In addition, mysql_real_query() is faster than mysql_query() because it does not call strlen() on the statement string.  

mysql_query() 不能传二进制BLOB字段,因为二进制信息中的\0会被误判为语句结束, mysql_real_query() 则可以
阅读(2424) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~