summaryrefslogtreecommitdiff
path: root/mysql-test/resolve-stack
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2002-01-19 19:16:52 -0700
committersasha@mysql.sashanet.com <>2002-01-19 19:16:52 -0700
commit56129ce634088b51dd60381711519c9125e8df72 (patch)
tree87da2fd65f79c28f4b97c4619f95b07797107d82 /mysql-test/resolve-stack
parentf4812729988dd07601a66ccb0636feaee8de9838 (diff)
downloadmariadb-git-56129ce634088b51dd60381711519c9125e8df72.tar.gz
Here comes a nasty patch, although I am not ready to push it yet. I will
first pull, merge,test, and get it to work. The main change is the new replication code - now we have two slave threads SQL thread and I/O thread. I have also re-written a lot of the code to prepare for multi-master implementation. I also documented IO_CACHE quite extensively and to some extend, THD class.
Diffstat (limited to 'mysql-test/resolve-stack')
-rwxr-xr-xmysql-test/resolve-stack8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/resolve-stack b/mysql-test/resolve-stack
new file mode 100755
index 00000000000..cdbe362c752
--- /dev/null
+++ b/mysql-test/resolve-stack
@@ -0,0 +1,8 @@
+#! /bin/sh
+# A shortcut for resolving stacks when debugging when
+# we cannot duplicate the crash in a debugger and have to
+# resort to using stack traces
+
+nm --numeric-sort ../sql/mysqld > var/tmp/mysqld.sym
+echo "Please type or paste the numeric stack trace,Ctrl-C to quit:"
+../extra/resolve_stack_dump -s var/tmp/mysqld.sym