mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Backport: Remove unused and ancient files, functions, and facilities.
This commit is contained in:
@ -59,8 +59,6 @@ static char *server_version= NULL;
|
||||
/* Array of options to pass to libemysqld */
|
||||
#define MAX_SERVER_ARGS 64
|
||||
|
||||
void* sql_alloc(unsigned size); // Don't use mysqld alloc for these
|
||||
void sql_element_free(void *ptr);
|
||||
#include "sql_string.h"
|
||||
|
||||
extern "C" {
|
||||
@ -4963,17 +4961,3 @@ static int com_prompt(String *buffer, char *line)
|
||||
tee_fprintf(stdout, "PROMPT set to '%s'\n", current_prompt);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
/* Keep sql_string library happy */
|
||||
|
||||
void *sql_alloc(size_t Size)
|
||||
{
|
||||
return my_malloc(Size,MYF(MY_WME));
|
||||
}
|
||||
|
||||
void sql_element_free(void *ptr)
|
||||
{
|
||||
my_free(ptr,MYF(0));
|
||||
}
|
||||
#endif /* EMBEDDED_LIBRARY */
|
||||
|
Reference in New Issue
Block a user