问答详情
源自:3-2 秒杀操作-并发优化-2

mysql 命令行报错

ERROR 1064 (42000): 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 'SELECT ROW_COUNT() into insert_count;

            IF (insert_count < 0 ) THEN

  ' at line 10


提问者:我叫慢慢丶 2016-09-27 17:10

个回答

  • 大咪
    2016-10-13 10:56:03

    检查是不是少分号了,我就是在上面的insertvalues后面插入语句忘了写分号了

  • qq_昼绽_0
    2016-09-28 17:11:10

    发全,你的代码