mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Patch for netBSD
Added warning for tables where the auto_increment key is 0 Fixed DELETE ... LIMIT 0 Fixed UPDATE ..LIMIT 0 Docs/manual.texi: Changelog + Update to CHECK TABLE configure.in: Patch for netBSD mit-pthreads/gen/ctime.c: Patch for netBSD mit-pthreads/machdep/netbsd-1.1/__signal.h: Patch for netBSD mit-pthreads/stdio/strerror.c: Patch for netBSD myisam/mi_check.c: Added warning for tables where the auto_increment key is 0 myisam/myisamchk.c: Added warning for tables where the auto_increment key is 0 mysql-test/r/auto_increment.result: Added warning for tables where the auto_increment key is 0 mysql-test/r/limit.result: Test of DELETE ... LIMIT 0 mysql-test/t/auto_increment.test: Added warning for tables where the auto_increment key is 0 mysql-test/t/limit.test: Test of DELETE ... LIMIT 0 sql/Makefile.am: Don't add mysqld_LDADD to mysqlbinlog (portability patch) sql/ha_gemini.cc: Changed copyright (have got ok from NuSphere previously) sql/ha_gemini.h: Changed copyright (have got ok from NuSphere previously) sql/sql_delete.cc: Fixed DELETE ... LIMIT 0 sql/sql_update.cc: Fixed UPDATE ..LIMIT 0
This commit is contained in:
parent
cb696ba1f3
commit
2a18a762e1
16 changed files with 128 additions and 24 deletions
14
configure.in
14
configure.in
|
|
@ -629,7 +629,10 @@ struct request_info *req;
|
|||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(LIBWRAP)
|
||||
AC_DEFINE(HAVE_LIBWRAP)
|
||||
WRAPLIBS="-L$with_libwrap/lib -lwrap",
|
||||
if test "$with_libwrap" != "yes"; then
|
||||
WRAPLIBS="-L${with_libwrap}/lib"
|
||||
fi
|
||||
WRAPLIBS="${WRAPLIBS} -lwrap",
|
||||
AC_MSG_RESULT(no)
|
||||
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}),
|
||||
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags})
|
||||
|
|
@ -798,6 +801,11 @@ case $SYSTEM_TYPE in
|
|||
echo "Adding fix for interrupted reads"
|
||||
CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000"
|
||||
;;
|
||||
*netbsd*)
|
||||
echo "Adding flag -Dunix"
|
||||
CFLAGS="$CFLAGS -Dunix"
|
||||
CXXFLAGS="$CXXFLAGS -Dunix"
|
||||
;;
|
||||
*bsdi*)
|
||||
echo "Adding fix for BSDI"
|
||||
CFLAGS="$CFLAGS -D__BSD__ -DHAVE_BROKEN_REALPATH"
|
||||
|
|
@ -2043,15 +2051,15 @@ EOF
|
|||
AC_DEFINE(HAVE_mit_thread)
|
||||
MT_INCLUDES="-I\$(top_srcdir)/mit-pthreads/include"
|
||||
AC_SUBST(MT_INCLUDES)
|
||||
MT_LD_ADD="-L \$(top_srcdir)/mit-pthreads/obj/ -lpthread"
|
||||
MT_LD_ADD="\$(top_srcdir)/mit-pthreads/obj/libpthread.a"
|
||||
AC_SUBST(MT_LD_ADD)
|
||||
LIBS="$MT_LD_ADD $LIBS"
|
||||
echo ""
|
||||
echo "Configuring MIT Pthreads"
|
||||
# We will never install so installation paths are not needed.
|
||||
(cd mit-pthreads; sh ./configure)
|
||||
echo "End of MIT Pthreads configuration"
|
||||
echo ""
|
||||
LIBS="$MT_LD_ADD $LIBS"
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(sql_server_dirs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue