From: Date: June 30 2008 3:22am Subject: [patch 05/10] WL4271 Encrypted online backup: display correct message for no yassl/not implemented List-Archive: http://lists.mysql.com/internals/35763 Message-Id: <20080630012611.785719618@flamingspork.com> --- sql/backup/kernel.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: stew-encrypted-backup/sql/backup/kernel.cc =================================================================== --- stew-encrypted-backup.orig/sql/backup/kernel.cc 2008-06-26 03:00:53.634618663 +1000 +++ stew-encrypted-backup/sql/backup/kernel.cc 2008-06-26 03:03:29.670639990 +1000 @@ -502,8 +502,13 @@ Backup_restore_ctx::prepare_for_backup(L || encryption_password_str.ptr() || encryption_keysize) { - fatal_error(ER_NOT_SUPPORTED_YET, "Encrypted Backup"); +#ifndef HAVE_YASSL + fatal_error(ER_NOT_SUPPORTED_YET, "Need YaSSL to support encrypted backup"); return NULL; +#else + fatal_error(ER_NOT_SUPPORTED_YET, "Encrypted backup not yet implemented"); + return NULL; +#endif } /* -- Stewart Smith