summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorDmitry Shulga <Dmitry.Shulga@Sun.COM>2010-09-24 19:03:28 +0700
committerDmitry Shulga <Dmitry.Shulga@Sun.COM>2010-09-24 19:03:28 +0700
commit7461d92d4570c2d243bd6c9cadb5506ee4ed2fac (patch)
treecb24bb5c49f640fad788d12e21ea8bb8d4b29f49 /sql/sql_cache.cc
parent9516e824e01d99165a37966fc5fc4f03acbd4c4e (diff)
downloadmariadb-git-7461d92d4570c2d243bd6c9cadb5506ee4ed2fac.tar.gz
Follow-up for Bug#42503: fix a compilation warning.
sql/sql_cache.cc: Added include of send_data_in_chunks() definiton when macros EMBEDDED_LIBRARY is on.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 22bdb24fb16..befeecb1902 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1330,6 +1330,7 @@ end:
}
+#ifndef EMBEDDED_LIBRARY
/**
Send a single memory block from the query cache.
@@ -1377,6 +1378,7 @@ send_data_in_chunks(NET *net, const uchar *packet, ulong len)
return FALSE;
}
+#endif
/*