summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-09-19 18:16:32 +0500
committerbar@bar.mysql.r18.ru <>2003-09-19 18:16:32 +0500
commitb201d49631637a3c55f25591a3ae40e8f77d2f71 (patch)
tree94ffa6ecfb57653ec67ea47f4d88b4bbf7752e3b /extra
parentacf5ba7d593d32141a2830d30177a7730387fd54 (diff)
downloadmariadb-git-b201d49631637a3c55f25591a3ae40e8f77d2f71.tar.gz
comp_err.c:
There are some problems compiling with pure "configure" I need to fix it first.
Diffstat (limited to 'extra')
-rw-r--r--extra/comp_err.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 2ec4240392f..1803b93ff8c 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -70,13 +70,15 @@ int main(int argc,char *argv[])
fclose(from);
goto end;
}
-
+
+#ifdef NEEDS_FIXES
if (!(csnum= get_charset_number(charset_name, MY_CS_PRIMARY)))
{
fprintf(stderr,"Unknown character '%s' in '%s'\n",charset_name, *argv);
fclose(from);
goto end;
}
+#endif
if (remember_rows(from,'}') < 0) /* Remember rows */
{