summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-28 19:13:31 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-28 19:13:31 -0300
commit570c6cc87a6217b49b911b35a91d35c9961d7674 (patch)
treeeef16fecac880a9779e086028ad9f933d3e53c6d /client/mysql.cc
parentb2fda7cfa867392a2c2d3d4644bb003021cb7b3a (diff)
downloadmariadb-git-570c6cc87a6217b49b911b35a91d35c9961d7674.tar.gz
Backport: Remove unused and ancient files, functions, and facilities.
Diffstat (limited to 'client/mysql.cc')
-rw-r--r--client/mysql.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 86094edc039..4a7a8f0e58c 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -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 */