Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
在 DECLARE CURSOR 语句中指定了 FOR UPDATE 或 FOR READ ONLY 子句。只能在 PREPARE 语句中指定 FOR UPDATE 或 FOR READ ONLY 子句,而不能在 DECLARE CURSOR 语句中指定。为了与先前版本兼容(但性能降低),可使用 sqlpp -m HISTORICAL 选项,以允许在 DECLARE CURSOR 语句中使用 FOR UPDATE 或 FOR READ ONLY 子句。