summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
authorunknown <monty@mishka.mysql.fi>2003-09-24 10:24:56 +0300
committerunknown <monty@mishka.mysql.fi>2003-09-24 10:24:56 +0300
commit74e3399af186b3159738c0c9c55672f0dbd7705c (patch)
treecc7389163da24340a03858b997927a41eeedc545 /sql/item_strfunc.cc
parent4e09f14b18ededb18aab527abe582fca34afe79c (diff)
parent1c50f8ac7894e7a59e25f720ab700cbe73986347 (diff)
downloadmariadb-git-74e3399af186b3159738c0c9c55672f0dbd7705c.tar.gz
merge
sql/item_strfunc.cc: Auto merged sql/lock.cc: Auto merged sql/repl_failsafe.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.cc: Auto merged BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted sql/net_serv.cc: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc15
1 files changed, 6 insertions, 9 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 98e8ee3914e..c48cf61262d 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -33,6 +33,7 @@
#include "md5.h"
#include "sha1.h"
#include "my_aes.h"
+#include "../mysys/my_static.h" // For soundex_map
String my_empty_string("",default_charset_info);
@@ -1496,15 +1497,11 @@ void Item_func_soundex::fix_length_and_dec()
}
- /*
- If alpha, map input letter to soundex code.
- If not alpha and remove_garbage is set then skip to next char
- else return 0
- */
-
-extern "C" {
-extern const char *soundex_map; // In mysys/static.c
-}
+/*
+ If alpha, map input letter to soundex code.
+ If not alpha and remove_garbage is set then skip to next char
+ else return 0
+*/
static char get_scode(CHARSET_INFO *cs,char *ptr)
{