Merge pull request #19285 from liviuconcioiu/19284

Fix #19284 - Delete_history_priv is not a valid column in mysql.tables_priv

Delete_history_priv is not a valid column in mysql.tables_priv, from what I've read here https://mariadb.com/kb/en/mysqltables_priv-table/ and here 91c758a.

The error happens only on master, but I targeted QA_5_2.

Fixes #19284
This commit is contained in:
Maurício Meneghini Fauth 2024-09-14 11:20:45 -03:00 committed by GitHub
commit 50fdf16a56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -228,11 +228,11 @@
</label>
</div>
{% if row['Delete versioning rows_priv'] is defined or row['Delete_history_priv'] is defined %}
{% if row['Delete versioning rows_priv'] is defined %}
<div class="item">
<input type="checkbox" name="Delete_history_priv" id="checkbox_Delete_history_priv" value="Y" title="
{%- trans 'Allows deleting historical rows.' %}"
{{- row['Delete versioning rows_priv'] == 'Y' or row['Delete_history_priv'] == 'Y' ? ' checked' }}>
{{- row['Delete versioning rows_priv'] == 'Y' ? ' checked' }}>
<label for="checkbox_Delete_history_priv">
<code>
<dfn title="{% trans 'Allows deleting historical rows.' %}">