Error when "Execute Statement ... on external data source" done under trusted 
authentication without "As user ... PASSWORD ... ROLE .." parameters
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-5344
                 URL: http://tracker.firebirdsql.org/browse/CORE-5344
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0.1
         Environment: Windows (client and server),Firebird-3.0.1.32573-0_x64
            Reporter: ded Rasta
            Priority: Minor


Connect with database as trusted user ( current_user = 'domain\user' ) and 
execute following code: 

execute block
returns (  p01 timestamp )
AS
declare variable s varchar(2000);
begin
  S = 'select current_timestamp from rdb$database';
  execute statement (:S)
--  as user 'SYSDBA'
--  password 'masterkey'
  on external data source 'inet4://LOCALHOST:3052/EMPLOYEE_FB3'
  into :p01;
  suspend;
end

Got following error: 

Unsuccessful execution caused by system error that does not preclude successful 
execution of subsequent statements.
Internal error when using clumplet API: attempt to store 268 bytes in a 
clumplet with maximum size 255 bytes.

When uncommenting user and password parameters code executes without error

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to