You specified the FOR UPDATE or FOR READ ONLY clause on a DECLARE CURSOR statement. The FOR UPDATE or FOR READ ONLY clause
must be specified on the PREPARE statement and not the DECLARE CURSOR statement. For compatibility with previous versions
(but with reduced performance), the sqlpp -m HISTORICAL option can be used to allow the FOR UPDATE or FOR READ ONLY clause
on the DECLARE CURSOR statement.