mirror of
https://github.com/mumble-voip/mumble.git
synced 2026-03-03 00:46:56 -05:00
SQL Syntax Error in log cleanup when dbPrefix contains a hyphen (MariaDB/MySQL) #3093
Labels
No labels
GlobalShortcuts
Hacktoberfest
accessibility
acl
asio
audio
bonjour
bsd
bug
build
certificate
ci
client
code
documentation
external-bug
feature-request
gRPC
github
good first issue
help wanted
help-needed
ice
installer
linux
macOS
needs-ckeck-with-latest-version
needs-more-input
overlay
positional audio
priority/P0 - Blocker
priority/P1 - Critical
priority/P2 - Important
priority/P3 - Somewhat important
priority/P4 - Low
public-server-registration
qt
recording
release-management
server
stale-no-response
stale-support
support
task
test
theme
translation
triage
ui
windows
wontfix
x64
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mumble-mumble-voip#3093
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @technikamateur on GitHub (Jan 22, 2026).
Originally assigned to: @Krzmbrzl on GitHub.
Description
When using the QMYSQL driver with a dbPrefix that includes a hyphen (e.g., mumble-server_), the server fails to prune the slog table. This is because the internal SQL query for log cleanup does not wrap the table name in backticks, causing MariaDB/MySQL to interpret the hyphen as a subtraction operator.
Steps to reproduce
Mumble version
1.5.735
Mumble component
Server
OS
Linux
Reproducible?
Yes
Additional information
No response
Relevant log output
Screenshots
No response
@Hartmnt commented on GitHub (Jan 22, 2026):
@Krzmbrzl This will probably be fixed in 1.6, right?
Do we care about a patch for the 1.5 series for this specific issue?
@Krzmbrzl commented on GitHub (Jan 22, 2026):
I would hope that this issue does not exist in the new DB implementation. I'll double-check though… (probably over the weekend)
@github-actions[bot] commented on GitHub (Feb 5, 2026):
This issue has been marked as stale, because our request for more information has thus far not been fulfilled.
If no further action occurs, this issue will be closed within 7 days.
@Krzmbrzl commented on GitHub (Feb 6, 2026):
Still on my TODO list