Skip to content

add "quiet" mode to ocesql (to not output "LIST OF CALLED DB Library API") #101

Open

Description

@GitMensch

precompiling a pco without any EXEC SQL leads to:

precompile start: EMPTY.pco
=======================================================
              LIST OF CALLED DB Library API
=======================================================
=======================================================

Using a "normal" source leads to

precompile start: NORMAL.pco
=======================================================
              LIST OF CALLED DB Library API
=======================================================
Generate:OCESQLPrepare
Generate:OCESQLIDExecPrepare
Generate:OCESQLIDConnect
Generate:OCESQLIDExecSelectIntoOne
Generate:OCESQLIDExecSelectIntoOne
Generate:OCESQLIDExecSelectIntoOne
Generate:OCESQLIDExec
Generate:OCESQLIDExecSelectIntoOne
Generate:COMMITuseDBNAME
Generate:ROLLBACKuseDBNAME
=======================================================

This is very verbose (so I'd actually suggest to only output all of those when running with --verbose, but if you want one could use --quiet instead (which otherwise could be used/reserved for "no display, only exit code").

I would give implementing that a try, but would like to have the "ok" to implement it either way up-front.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions