ODAC 10.03.08 and GRANT problem

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
heidenbluth
Posts: 56
Joined: Mon 08 Nov 2004 19:01
Location: Germany

ODAC 10.03.08 and GRANT problem

Post by heidenbluth » Tue 18 Dec 2018 20:17

The new version does not cope correctly with GRANT statements, if the command spreads on more than one line.
Example:

Code: Select all

GRANT SELECT
ON MYTABLE
TO MYROLE
If you comment out the following lines in OraScriptProcessor.pas, it works fine again:

Code: Select all

procedure TCustomOraScriptProcessor.CheckLexem(
...
      ST_UNKNOWN:
          ..
//          lxGRANT, lxREVOKE: // commented out
//            StatementType := ST_PRIVILEGES;

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: ODAC 10.03.08 and GRANT problem

Post by MaximG » Sat 22 Dec 2018 12:57

Thank you for the information. We have reproduced the problem and fixed the bug. The fix will be included in the next ODAC build. We are preparing a release of our product with this changes until the end of this year.

Post Reply