mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Cleaned up SSL documentation
Fixes for embedded server Made key_cache more configurable Fixed that one can change key blocksize in MyISAM A lot of optimizations to make MyISAM slightly faster
This commit is contained in:
@ -243,7 +243,8 @@ static COMMANDS commands[] = {
|
||||
};
|
||||
|
||||
static const char *load_default_groups[]= { "mysql","client",0 };
|
||||
static const char *server_default_groups[]= { "server", "mysql_SERVER", 0 };
|
||||
static const char *server_default_groups[]=
|
||||
{ "server", "embedded", "mysql_SERVER", 0 };
|
||||
|
||||
#ifdef HAVE_READLINE
|
||||
extern "C" void add_history(char *command); /* From readline directory */
|
||||
@ -271,7 +272,6 @@ int main(int argc,char *argv[])
|
||||
{
|
||||
char buff[80];
|
||||
|
||||
mysql_server_init(0, NULL, server_default_groups);
|
||||
MY_INIT(argv[0]);
|
||||
DBUG_ENTER("main");
|
||||
DBUG_PROCESS(argv[0]);
|
||||
@ -302,6 +302,7 @@ int main(int argc,char *argv[])
|
||||
!(status.line_buff=batch_readline_init(max_allowed_packet+512,stdin)))
|
||||
exit(1);
|
||||
glob_buffer.realloc(512);
|
||||
mysql_server_init(0, NULL, server_default_groups);
|
||||
completion_hash_init(&ht,50);
|
||||
bzero((char*) &mysql, sizeof(mysql));
|
||||
if (sql_connect(current_host,current_db,current_user,opt_password,
|
||||
@ -368,7 +369,6 @@ int main(int argc,char *argv[])
|
||||
if (opt_outfile)
|
||||
end_tee();
|
||||
mysql_end(0);
|
||||
mysql_server_end();
|
||||
#ifndef _lint
|
||||
DBUG_RETURN(0); // Keep compiler happy
|
||||
#endif
|
||||
@ -398,6 +398,7 @@ sig_handler mysql_end(int sig)
|
||||
my_free(current_db,MYF(MY_ALLOW_ZERO_PTR));
|
||||
my_free(current_host,MYF(MY_ALLOW_ZERO_PTR));
|
||||
my_free(current_user,MYF(MY_ALLOW_ZERO_PTR));
|
||||
mysql_server_end();
|
||||
my_end(info_flag ? MY_CHECK_ERROR | MY_GIVE_INFO : 0);
|
||||
exit(status.exit_status);
|
||||
}
|
||||
|
Reference in New Issue
Block a user