Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(platform) : Issue with cross databases query when the name contains some characters #11321

Merged
merged 2 commits into from
Jul 5, 2022

Conversation

hyahiaoui-ext
Copy link
Contributor

Description

In Centreon Web and some modules, there are some cross databases queries. If a database name contains some characters like dash the query is on error. This database name needs to be surrounded by backquoted.

Fixes # MON-13829

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • 21.04.x
  • 21.10.x
  • 22.04.x
  • 22.10.x (master)

Checklist

Community contributors & Centreon team

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (master, maintenance).

@hyahiaoui-ext hyahiaoui-ext force-pushed the MON-13829-dev-22.04 branch from 4e03929 to 20df503 Compare July 4, 2022 10:22
@hyahiaoui-ext hyahiaoui-ext requested a review from kduret July 4, 2022 10:22
@sonarqube-decoration
Copy link

@hyahiaoui-ext hyahiaoui-ext merged commit ce41eeb into dev-22.04.x Jul 5, 2022
@hyahiaoui-ext hyahiaoui-ext deleted the MON-13829-dev-22.04 branch July 5, 2022 13:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants