From dd18eb1bfc8dc9839dda8b2e0ff3df0555a079b2 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 20 Oct 2006 14:31:47 +0400 Subject: [PATCH] Fix for bug #23256 "doesn't build on alpha" - compilation on the Alpha platform was broken because the Alpha-specific code was not updated after replacing the SIGRETURN_FRAME_COUNT constant with a variable --- sql/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/stacktrace.c b/sql/stacktrace.c index 43f35c452f7..1b8267763a0 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -186,7 +186,7 @@ terribly wrong...\n"); #if defined(__alpha__) && defined(__GNUC__) uchar** new_fp = find_prev_fp(pc, fp); - if (frame_count == SIGRETURN_FRAME_COUNT - 1) + if (frame_count == sigreturn_frame_count - 1) { new_fp += 90; }