Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1944653

Summary: DROP TABLE doesn't raise error while dropping non-existing table in MariaDB 10.5.9 when OQGraph SE is loaded to the server
Product: Red Hat Enterprise Linux 8 Reporter: Michal Schorm <mschorm>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Heger <jheger>
Severity: unspecified Docs Contact: Lenka Špačková <lkuprova>
Priority: unspecified    
Version: 8.4CC: databases-maint, hhorak, jheger, ljavorsk, mmuzila, rhel-cs-apps-subsystem-qe, toneata
Target Milestone: rcKeywords: Rebase, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
URL: https://jira.mariadb.org/browse/MDEV-25373
Whiteboard: Waiting on upstream fix
Fixed In Version: Doc Type: Bug Fix
Doc Text:
.`MariaDB 10.5` now warns about dropping a non-existent table when the `OQGraph` plug-in is enabled Previously, when the `OQGraph` storage engine plug-in was loaded to the `MariaDB 10.5` server, `MariaDB` did not warn about dropping a non-existent table. In particular, when the user attempted to drop a non-existent table using the `DROP TABLE` or `DROP TABLE IF EXISTS` SQL commands, `MariaDB` neither returned an error message nor logged a warning. This bug has been fixed, and a warning is now shown in the described scenario.
Story Points: ---
Clone Of: 1942526
: 2095290 (view as bug list) Environment:
Last Closed: 2022-10-19 13:37:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1942526, 2092314    
Bug Blocks: 1947388, 2095290    

Comment 5 Michal Schorm 2021-03-31 09:50:49 UTC
We found out that the issue arise only when a package "mariadb-oqgraph-engine" is installed and the OQGraph storage engine plugin (provided by this package) is enabled (loaded to the server).

This can be done either in the server configuration (and then restarting the server) :
  [mariadb]
  plugin-load-add=ha_oqgraph.so


Or inside the running server with command:
  INSTALL SONAME 'ha_oqgraph';

---

The "mariadb-oqgraph-engine" package is only suggested by the "mariadb-server", so it is NOT installed by default.
That means that majority of the users shouldn't hit this issue.

Comment 10 Michal Schorm 2021-07-05 16:16:21 UTC
This issue is tracked on the MariaDB upstream: https://jira.mariadb.org/browse/MDEV-25373