Fix bug introduced in 9913579bb0
(MariaDB does not support backtics in where clause).
This commit is contained in:
parent
9913579bb0
commit
67d0c45d79
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue