我正在使用Mysql c api进行数据库交互,我想知道如果Mysql多语句的一个查询失败了,那么我们如何回滚所有成功执行的查询。ex- mysql_query(conn,"select * from account_db;select count(*) from account_dbb;select * from account_db"),mysql多语句一个接一个地执行查
Retry 2: Attempting to connect to Mysql@local:mysql=MYSQL with user root with no password...Retry 4: Attempting to connect to Mysql@local:mysql=MYSQL with user root with no password...Retry 6: Attempting to connect to Mysql@local:mys