mariuz / flamerobin

FlameRobin is a database administration tool for Firebird RDBMS. Our goal is to build a tool that is: lightweight (small footprint, fast execution) cross-platform (Linux, Windows, Mac OS X, FreeBSD) dependent only on other Open Source software
http://flamerobin.org
MIT License
214 stars 66 forks source link

Context: Statement::FindParamsByName Message: Parameter name <empty> not found. #133

Closed arvanus closed 3 years ago

arvanus commented 3 years ago
set term ^ ;
execute block
AS
declare variable stmins_upd varchar(300) =
'select 1 from rdb$database where 1=:param;';
declare variable dummy smallint;
BEGIN

   execute STATEMENT (:stmins_upd) (param := 1)
   into :dummy
 ;

end^
set term ; ^

Returns this error while preparing:

Error: *** IBPP::LogicException ***
Context: Statement::FindParamsByName
Message: Parameter name <empty> not found.