summaryrefslogtreecommitdiff
path: root/sql/stacktrace.c
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 /sql/stacktrace.c
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 'sql/stacktrace.c')
-rw-r--r--sql/stacktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/stacktrace.c b/sql/stacktrace.c
index bef53c71a42..dd7db5548c1 100644
--- a/sql/stacktrace.c
+++ b/sql/stacktrace.c
@@ -123,7 +123,7 @@ terribly wrong...\n");
}
#endif /* __alpha__ */
- if (!stack_bottom)
+ if (!stack_bottom || (gptr) stack_bottom > (gptr) &fp)
{
ulong tmp= min(0x10000,thread_stack);
/* Assume that the stack starts at the previous even 65K */