diff options
author | monty@hundin.mysql.fi <> | 2002-01-02 21:29:41 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-01-02 21:29:41 +0200 |
commit | 4b877e0088e6f32a606ffaa0fb3c94afb0b24388 (patch) | |
tree | ef8afaf7a0fed42b30ef0d9d38acccc992b5f87d /libmysqld | |
parent | 5b77e3391050f1f585ab28816ad31761d93e8264 (diff) | |
download | mariadb-git-4b877e0088e6f32a606ffaa0fb3c94afb0b24388.tar.gz |
Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/examples/Makefile.am | 2 | ||||
-rw-r--r-- | libmysqld/lib_vio.c | 15 |
2 files changed, 6 insertions, 11 deletions
diff --git a/libmysqld/examples/Makefile.am b/libmysqld/examples/Makefile.am index d1cf24caf48..d9f9f05ae97 100644 --- a/libmysqld/examples/Makefile.am +++ b/libmysqld/examples/Makefile.am @@ -11,7 +11,7 @@ DEFS = -DEMBEDDED_LIBRARY INCLUDES = -I$(top_srcdir)/include $(openssl_includes) \ -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/client LIBS = @LIBS@ -LDADD = ../libmysqld.a @innodb_system_libs@ @LIBDL@ +LDADD = ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS) mysqltest_SOURCES = mysqltest.c diff --git a/libmysqld/lib_vio.c b/libmysqld/lib_vio.c index a6723f8322e..9bf492ed5ea 100644 --- a/libmysqld/lib_vio.c +++ b/libmysqld/lib_vio.c @@ -146,27 +146,23 @@ int vio_write(Vio * vio, const gptr buf, int size) int vio_blocking(Vio * vio, my_bool set_blocking_mode) { - int r=0; - return (r); + return (0); } my_bool vio_is_blocking(Vio * vio) { - my_bool r=0; - return(r); + return(0); } int vio_fastsend(Vio * vio) { - int r=0; - return(r); + return(0); } int vio_keepalive(Vio* vio, my_bool set_keep_alive) { - int r=0; - return (r); + return (0); } @@ -181,8 +177,7 @@ vio_should_retry(Vio * vio __attribute__((unused))) int vio_close(Vio * vio) { - int r=0; - return(r); + return(0); } |