summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-08-09 18:16:43 -0600
committersasha@mysql.sashanet.com <>2001-08-09 18:16:43 -0600
commit681cdbbdf93f2c168368f4bdd79d785a3a2f6811 (patch)
tree9d06bd339f6bb64b768d1643ebf486cac78790a1 /libmysql
parent94db78ce61a998d28a9335bade3e5e1df558a4ea (diff)
downloadmariadb-git-681cdbbdf93f2c168368f4bdd79d785a3a2f6811.tar.gz
mysqlbinlog->client
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/Makefile.shared3
-rw-r--r--libmysql/libmysql.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/libmysql/Makefile.shared b/libmysql/Makefile.shared
index b6ea5832e04..e9e100e38b1 100644
--- a/libmysql/Makefile.shared
+++ b/libmysql/Makefile.shared
@@ -55,7 +55,8 @@ mysysobjects1 = my_init.lo my_static.lo my_malloc.lo my_realloc.lo \
mf_loadpath.lo my_pthread.lo my_thr_init.lo \
thr_mutex.lo mulalloc.lo string.lo default.lo \
my_compress.lo array.lo my_once.lo list.lo my_net.lo \
- charset.lo hash.lo
+ charset.lo hash.lo mf_iocache.lo my_seek.lo \
+ my_pread.lo mf_cache.lo
# Not needed in the minimum library
mysysobjects2 = getopt.lo getopt1.lo getvar.lo my_lib.lo
mysysobjects = $(mysysobjects1) $(mysysobjects2)
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 9221812ea65..4101fe18ea1 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -287,7 +287,7 @@ HANDLE create_named_pipe(NET *net, uint connect_timeout, char **arg_host,
** or packet is an error message
*****************************************************************************/
-static uint
+uint
net_safe_read(MYSQL *mysql)
{
NET *net= &mysql->net;
@@ -417,7 +417,7 @@ static void free_rows(MYSQL_DATA *cur)
}
-static int
+int
simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg,
uint length, my_bool skipp_check)
{