我正在尝试对存储过程进行基准测试。select benchmark(100000000,(select 1));但是下面的基准测试没有:
do benchmark(1000,(call test_login_userERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL
我正在尝试使用MySQL基准测试一些查询。但是,我遇到了一个错误。SELECT benchmark (10000, (select title from user));ERROR 1242 (21000): Subquery returnsmore than 1 row
有人知道如何对查询进行基准测试吗?