1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-05 08:04:25 +03:00
Files
mariadb/mysql-test/t
Davi Arnaut fb8f32d077 Bug#37003 Tests sporadically crashes with embedded server
The problem was that when a embedded linked version of mysqltest
crashed there was no way to obtain a stack trace if no core file
is available. Another problem is that the embedded version of
libmysql was not behaving (crash) the same as the non-embedded with
respect to sending commands to a explicitly closed connection.

The solution is to generate a mysqltest's stack trace on crash
and to enable "reconnect" if the connection handle was explicitly
closed so the behavior matches the non-embedded one.

client/CMakeLists.txt:
  Link mysys to mysqltest.
client/Makefile.am:
  Link mysys to mysqltest.
client/mysqltest.c:
  Add fatal signal handling with backtracing for Unix and Windows.
configure.in:
  Add check for weak symbols support and remove a spurious word.
include/Makefile.am:
  Add new header with prototype for stack tracing functions.
include/my_stacktrace.h:
  Add new header with prototype for stack tracing functions.
libmysqld/CMakeLists.txt:
  stack tracing is now part of mysys.
libmysqld/Makefile.am:
  stack tracing is now part of mysys.
libmysqld/lib_sql.cc:
  Re-connect if connection was explicitly closed. This is
  done to match the behavior of the non-embeded libmysql.
mysql-test/t/sql_low_priority_updates_func.test:
  Test expects parallelism between queries that cannot be
  guaranteed under embedded.
mysys/CMakeLists.txt:
  Add stacktrace to mysys.
mysys/Makefile.am:
  Add stacktrace to mysys.
mysys/stacktrace.c:
  Move stacktrace to mysys and add weak symbol for the
  C++ name de-mangling function so that it can later be
  overridden in C++ code. Also add my_ prefix to exported
  functions.
sql/CMakeLists.txt:
  stacktrace was moved to mysys.
sql/Makefile.am:
  stacktrace was moved to mysys.
sql/mysqld.cc:
  Add my_ prefix to mysys functions.
2008-06-18 13:17:15 -03:00
..
2008-03-17 14:26:00 +03:00
2008-01-17 15:37:18 -08:00
2007-11-01 12:30:03 -07:00
2008-06-03 12:21:48 +02:00
2007-11-24 15:02:29 +04:00
2008-04-30 14:49:37 +02:00
2007-11-02 13:40:34 +03:00
2008-04-22 21:49:39 -07:00
2007-11-20 20:15:20 +04:00
2008-02-25 21:18:50 +01:00
2008-02-25 21:18:50 +01:00
2008-01-25 16:05:15 -08:00
2008-04-08 20:01:20 +04:00
2008-04-02 00:43:17 +02:00
2008-05-08 20:13:39 +02:00
2008-05-08 20:13:39 +02:00
2008-05-21 17:34:14 +02:00
2008-05-08 20:13:39 +02:00
2008-05-08 20:13:39 +02:00
2008-05-08 20:13:39 +02:00
2008-05-08 20:13:39 +02:00
2008-04-08 20:01:20 +04:00
2008-03-14 20:51:32 +01:00