~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.cc

  • Committer: jay
  • Date: 2008-12-23 00:18:10 UTC
  • Revision ID: jay@piggy.tangent.org-20081223001810-026ibij22q2842k1
Had a --regex-replace by accident. Should have been --replace_column call.  Only showed up in make test, not running single test, because InnoDB key numbers were different with multiple test running.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
#endif
119
119
 
120
120
 
121
 
void  print_stacktrace(unsigned char* stack_bottom, ulong thread_stack)
 
121
void  print_stacktrace(unsigned char* stack_bottom, size_t thread_stack)
122
122
{
123
123
#if HAVE_BACKTRACE
124
124
  backtrace_current_thread();
156
156
      fp < (unsigned char**) stack_bottom - thread_stack)
157
157
  {
158
158
    fprintf(stderr, "Bogus stack limit or frame pointer,\
159
 
 fp=%p, stack_bottom=%p, thread_stack=%ld, aborting backtrace.\n",
160
 
            (void *)fp, (void *)stack_bottom, thread_stack);
 
159
 fp=%p, stack_bottom=%p, thread_stack=%"PRIu64", aborting backtrace.\n",
 
160
            (void *)fp, (void *)stack_bottom, (uint64_t)thread_stack);
161
161
    return;
162
162
  }
163
163