我在 中编写了一个存储过程heidisql(Mysql)
,它运行良好并在那里获得所需的输出。
我试图在其中运行相同的代码phpmyadmin
并出现错误#1604
。
insert into tmp_table_rule2 (reward_id) select (reward_id) from vbw_redemptions order by redemption_id desc limit rule2_redemption_count;
select count(id) into set_row_count_rule2_temp_table from tmp_table_rule2;
是出现错误的部分。
Heidisql version - 5.6.14
phpmyadmin version -5.1.54-1ubuntu4 .