| List: | Commits | « Previous MessageNext Message » | |
| From: | Chuck Bell | Date: | July 9 2008 3:30pm |
| Subject: | The backupdir warn/error discussion. Was:RE: bzr commit into mysql-6.0-backup branch (cbell:2648) Bug#35230 | ||
| View as plain text | |||
Svoj, Rafal,
Our discussion today on IRC was about whether the server should warn or
error is user specifies an invalid path for --backupdir on startup.
There are several options:
a) leave code as is: throw error and stop
b) print a warning and use default value for backupdir
c) print a warning and use the patch specified for backupdir
In the effort to try and get this work into the next build, I have decided
to implement option c). I think this concurs with both of your opinions on
that matter.
I have also added code to validate backupdir prior backup or restore. An
error message like the following is printed if backupdir is invalid:
mysql> backup database test to 'b1.bak';
ERROR 1723 (HY000): The path specified for the variable backupdir cannot be
accessed or is invalid. ref: something\invalid/goes/here
Peter: Do you disagree with this decision?
Chuck
| Thread | ||
|---|---|---|
| • The backupdir warn/error discussion. Was:RE: bzr commit into mysql-6.0-backup branch (cbell:2648) Bug#35230 | Chuck Bell | 9 Jul |
| • Re: The backupdir warn/error discussion. Was:RE: bzr commit intomysql-6.0-backup branch (cbell:2648) Bug#35230 | Peter Gulutzan | 9 Jul |
| • Re: The backupdir warn/error discussion. Was:RE: bzr commit intomysql-6.0-backup branch (cbell:2648) Bug#35230 | Rafal Somla | 10 Jul |
| • Re: The backupdir warn/error discussion. Was:RE: bzr commit intomysql-6.0-backup branch (cbell:2648) Bug#35230 | Peter Gulutzan | 10 Jul |
| • Re: The backupdir warn/error discussion. Was:RE: bzr commit intomysql-6.0-backup branch (cbell:2648) Bug#35230 | Rafal Somla | 10 Jul |
| • Re: The backupdir warn/error discussion. Was:RE: bzr commit intomysql-6.0-backup branch (cbell:2648) Bug#35230 | Peter Gulutzan | 14 Jul |
