Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HookLog fails to add records for PG because invalid syntax #5072

Closed
7 tasks
christian7007 opened this issue Sep 9, 2020 · 0 comments
Closed
7 tasks

HookLog fails to add records for PG because invalid syntax #5072

christian7007 opened this issue Sep 9, 2020 · 0 comments

Comments

@christian7007
Copy link
Contributor

Description

MySQL ÌFNULL() function is not supported for PostgresSQL, this function is used in HookLog::add(). This makes adding a new record fails when PostgresSQL is used.

To Reproduce

  • Create a new hook.
  • Trigger the hook.

Expected behavior

The new hook log record is added correctly using PostgresSQL.

Details

  • Affected Component: oned
  • Version: development

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@christian7007 christian7007 self-assigned this Sep 9, 2020
christian7007 pushed a commit to christian7007/docs that referenced this issue Sep 24, 2020
rsmontero pushed a commit to OpenNebula/docs that referenced this issue Sep 24, 2020
tinova added a commit to OpenNebula/docs that referenced this issue Sep 24, 2020
christian7007 pushed a commit to christian7007/docs that referenced this issue Sep 24, 2020
rsmontero pushed a commit that referenced this issue Sep 24, 2020
rsmontero pushed a commit to OpenNebula/docs that referenced this issue Sep 24, 2020
rsmontero added a commit to OpenNebula/docs that referenced this issue Sep 24, 2020
rsmontero pushed a commit that referenced this issue Oct 6, 2020
@christian7007 christian7007 changed the title HookLog fails to add records for PG because invalid syntas HookLog fails to add records for PG because invalid syntax Mar 16, 2021
rsmontero pushed a commit that referenced this issue Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant