severity 372313 wishlist
tags 372313 + upstream moreinfo unreproducible
thanks

Hello Robert

On 2006-06-09 Robert Sander wrote:
> mysqldump overwrites an existing dumpfile even when the database to be
> dumped does not exist any more. When the database to be dumped does not
> exist mysqldump should exit with an error and not write anything to the
> output file.

mysqldump from 4.1 and 5.0 does not have an output file option, did 4.0?
Else it's probably the backup script you're using that simply redirects
stdout to a file instead of using a temporary file and moving that if there
was no error.
All mysqldump versions I remember print an error if a database does not
exists and exit with != 0.

Please give more info on how mysqldump is called in your version.

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to