error copy_statement_with_parameters from select

Odo Benda <[email protected]> Mon, 24 Jan 2022 11:06:40 +0100
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hello!

I'm struggling with simple select test case that produces an 
copy_statement_with_parameters error.

Err:Program ./test_case_benu2 stopped at 'test_case_benu2.4gl', line 
number 12.
Error status number -1.
Query buffer allocate error in copy_statement_with_parameters.

4gl function call stack :
     MAIN


The code producing the error is:

DATABASE kfa


MAIN

    DEFINE res RECORD LIKE benutzer.*

    DEFINE u CHAR(8)

    LET  u = "kfa"

    SELECT * INTO res.*
      FROM benutzer
    WHERE username LIKE u

    DISPLAY "code ", res.usercode
    DISPLAY "DONE!"
END MAIN


The installation is unixodbc / postgres on centos 8.5


best regards, Odo



_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss