drizzledump is not honoring --destination-database option

Bug #663554 reported by m00dawg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Andrew Hutchings
7.0
Fix Released
Medium
Andrew Hutchings

Bug Description

drizzledump does not appear to be honoring the --destination-database option and is, instead, using the source database name:

root@mcp:/usr/lib/drizzle7# drizzle
Welcome to the Drizzle client.. Commands end with ; or \g.
Your Drizzle connection id is 5
Connection protocol: mysql
Server version: 2010.10.1848 Source distribution (elliott)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

drizzle> show databases;
+--------------------+
| Database |
+--------------------+
| DATA_DICTIONARY |
| INFORMATION_SCHEMA |
| mcptest |
| test |
+--------------------+
4 rows in set (0 sec)

drizzle> drop database mcptest;
Query OK, 5 rows affected (0.02 sec)

drizzle> Bye
root@mcp:/usr/lib/drizzle7# drizzledump -p3306 -uroot -Ppassword mcptest --destination-type=database --destination-port=3307 --destination-database=moocowproductions
-- drizzledump 2010.10.1848 libdrizzle 7, for pc-linux-gnu (x86_64)
--
-- Host: localhost Database: mcptest
-- ------------------------------------------------------
-- Server version 5.1.41-3ubuntu12.6 (MySQL server)

root@mcp:/usr/lib/drizzle7# drizzle
Welcome to the Drizzle client.. Commands end with ; or \g.
Your Drizzle connection id is 7
Connection protocol: mysql
Server version: 2010.10.1848 Source distribution (elliott)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

drizzle> show databases;
+--------------------+
| Database |
+--------------------+
| DATA_DICTIONARY |
| INFORMATION_SCHEMA |
| mcptest |
| test |
+--------------------+
4 rows in set (0 sec)

drizzle>

Related branches

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

oh crap, that option isn't linked up correctly. Thanks for spotting it. I'll fix ASAP

Changed in drizzle:
assignee: nobody → Andrew Hutchings (linuxjedi)
importance: Undecided → Medium
milestone: none → 2010-10-25
status: New → Triaged
Changed in drizzle:
status: Triaged → Fix Committed
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.