Bug #1192 mysqldump --quote-names do not work for databases

Submitted: 4 Sep 2003 3:23 Modified: 10 Dec 2003 7:00
Reporter: Peter Zaitsev (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S3 (Non-critical)
Version:4.0.14 OS:Any (all)
Assigned to: Jani Tolonen CPU Architecture:Any

[4 Sep 2003 3:23] Peter Zaitsev
Description:
mysqldump --quote-names  does not quote database names. 

This does not allow to import created dump:

How to repeat:
1)run  create database `1942`

try to dump it:

ozzzz:~# mysqldump --opt --quote-names -A | less
-- MySQL dump 9.08
--
-- Host: localhost    Database: 
---------------------------------------------------------
-- Server version       4.0.14-log

--
-- Current Database: 1942
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ 1942;

USE 1942;
[10 Dec 2003 7:00] Jani Tolonen
Fixed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.