---
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