在转换附件时候报的错,看上去好像是文件名中的单引号引起的。
XConvert info: MySQL Query Error
Time: 2008-8-29 9:20am
SQL: INSERT INTO dzdt.dz_attachments (aid, tid, pid, dateline, readperm, filename, description, filetype, filesize, attachment, downloads, isimage, uid) VALUES ('4111','16574','86989','1102091839','0','It's My Life.rar','','x-rar-compressed','608906','vbb/2/5/1/8/0/4111.attach','67','0','25180')
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's My Life.rar','','x-rar-compressed','608906','vbb/2/5/1/8/0/4111.attach','67','' at line 1
Errormsg.: 可能原因:1.数据超长或类型不匹配;2.数据库记录重复
Errno.: 1064 |