summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-07-04 11:40:10 +0500
committerunknown <hf@deer.(none)>2003-07-04 11:40:10 +0500
commit14fd42e13ff008247ede01c48780539f23931e2d (patch)
tree572877a5051cb3620e9ad1231011d6387afc1e8c /include
parent06f3d10ffd9e86a932704c4c5c8a82c39b8a6d8e (diff)
downloadmariadb-git-14fd42e13ff008247ede01c48780539f23931e2d.tar.gz
SCRUM
Including client code into embedded library Code trimming (fixes of comments etc) include/mysql_com.h: Comment fixed include/mysql_embed.h: comment fixed include/violite.h: comment fixed libmysql/libmysql.c: #undef should work anyway libmysqld/libmysqld.c: comment fixed sql-common/client.c: #undef should work anyway sql/net_serv.cc: #undef should work anyway
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h4
-rw-r--r--include/mysql_embed.h4
-rw-r--r--include/violite.h3
3 files changed, 3 insertions, 8 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index a89569c451e..ab6330dbe53 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -234,9 +234,7 @@ void net_end(NET *net);
void net_clear(NET *net);
my_bool net_realloc(NET *net, unsigned long length);
-/*HFTODO - should remove it
- */
-#ifndef EMBEDDED_LIBRARY
+#ifndef EMBEDDED_LIBRARY /* To be removed by HF */
my_bool net_flush(NET *net);
#else
#define net_flush(A)
diff --git a/include/mysql_embed.h b/include/mysql_embed.h
index ba71b2e93ea..7a169d4133e 100644
--- a/include/mysql_embed.h
+++ b/include/mysql_embed.h
@@ -19,9 +19,7 @@
#ifdef EMBEDDED_LIBRARY
/* Things we don't need in the embedded version of MySQL */
-/*HFTODO
-#undef HAVE_VIO - if we don't want client in embedded library
-*/
+/* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
#undef HAVE_PSTACK /* No stacktrace */
#undef HAVE_DLOPEN /* No udf functions */
diff --git a/include/violite.h b/include/violite.h
index eeb2cbd7185..9205f5b799a 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -220,8 +220,7 @@ enum SSL_type
};
-/* HFTODO - hide this if we don't want client in embedded server
- */
+/* HFTODO - hide this if we don't want client in embedded server */
/* This structure is for every connection on both sides */
struct st_vio
{