summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
authormonty@mishka.mysql.fi <>2003-09-24 10:24:56 +0300
committermonty@mishka.mysql.fi <>2003-09-24 10:24:56 +0300
commitc22c1d8a4d14c32348f7c03be7e29d288ef07287 (patch)
treecc7389163da24340a03858b997927a41eeedc545 /sql/item_strfunc.cc
parentefd94f5ba972bb10d2d10fe46fc9153536941e92 (diff)
parentc674ffd5f1f6b846fe8bffc4d53190fa81e4d121 (diff)
downloadmariadb-git-c22c1d8a4d14c32348f7c03be7e29d288ef07287.tar.gz
merge
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)
{