Added support for key_block_size for key and table level (WL#602)

Added support for key_block_size to MyISAM.
Simplify interface to 'new Key' to make it easier to add new key options.
mysqld option --new is used to define where key options are printed.
(In 5.3 we should move all key options to after key part definition to avoid problem with reserved names)
Fixed some compiler warnings and a memory leak in ssl
This commit is contained in:
monty@mysql.com 2006-05-03 15:59:17 +03:00
commit 343644dd5d
39 changed files with 605 additions and 168 deletions

View file

@ -296,7 +296,7 @@ ctor_failure:
TODO:
Add option --verify to mysqld to be able to change verification mode
*/
struct st_VioSSLAcceptorFd*
struct st_VioSSLAcceptorFd *
new_VioSSLAcceptorFd(const char *key_file,
const char *cert_file,
const char *ca_file,
@ -387,4 +387,12 @@ ctor_failure:
my_free((gptr) ptr,MYF(0));
DBUG_RETURN(0);
}
void free_vio_ssl_acceptor_fd(struct st_VioSSLAcceptorFd *fd)
{
SSL_CTX_free(fd->ssl_context);
my_free((gptr) fd, MYF(0));
}
#endif /* HAVE_OPENSSL */