13.2.11.10 Subquery Errors子查询错误

There are some errors that apply only to subqueries. 有些错误只适用于子查询。This section describes them.本节将对其进行描述。

In MySQL 8.0.19 and later, all of the errors described in this section also apply when using TABLE in subqueries.在MySQL 8.0.19及更高版本中,在子查询中使用TABLE时,本节中描述的所有错误也适用。

For transactional storage engines, the failure of a subquery causes the entire statement to fail. 对于事务性存储引擎,子查询失败会导致整个语句失败。For nontransactional storage engines, data modifications made before the error was encountered are preserved.对于非事务存储引擎,将保留在遇到错误之前所做的数据修改。