Fix bug introduced in 9913579bb0 (MariaDB does not support backtics in where clause).

This commit is contained in:
William Hirigoyen 2022-11-08 17:30:05 +01:00
parent 9913579bb0
commit 67d0c45d79

View file

@ -814,7 +814,7 @@ op_del() {
if [ -n "$dbname" ]; then
set -x
echo "DROP DATABASE \`$dbname\`; delete from mysql.user where user=\`$login\`; FLUSH PRIVILEGES;" | mysql $MYSQL_OPTS
echo "DROP DATABASE \`$dbname\`; delete from mysql.user where user='$login'; FLUSH PRIVILEGES;" | mysql $MYSQL_OPTS
set +x
fi
}