summaryrefslogtreecommitdiff
path: root/sql/stacktrace.c
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2006-10-20 14:31:47 +0400
committerunknown <kaa@polly.local>2006-10-20 14:31:47 +0400
commitdd18eb1bfc8dc9839dda8b2e0ff3df0555a079b2 (patch)
tree886b4a02f37fc60db0c8e852328688b5d79b0dee /sql/stacktrace.c
parent9a506df0c2f831ed91a6ca4dea9f44982f28f2f7 (diff)
downloadmariadb-git-dd18eb1bfc8dc9839dda8b2e0ff3df0555a079b2.tar.gz
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
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 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;
}