summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-08-09 19:16:15 -0600
committersasha@mysql.sashanet.com <>2001-08-09 19:16:15 -0600
commitf6836bf81abb42523349ac6cf0b8807fa9e69c3e (patch)
treeed06f905f1515a2117cc0c243c526264fccaac77 /libmysql
parentd9737f20f838f189ef1f3d25df7739770f3b52b9 (diff)
parentbe4f7bbdcf89e5fa2a9e8193cda1d317918d7d07 (diff)
downloadmariadb-git-f6836bf81abb42523349ac6cf0b8807fa9e69c3e.tar.gz
merged
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 28248a0b982..ba97c7cf04d 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 22b3c75fcb9..378744b9f1b 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -293,7 +293,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;
@@ -415,7 +415,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)
{