~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.c

  • Committer: Monty Taylor
  • Date: 2008-09-22 23:53:43 UTC
  • mto: This revision was merged to the branch mainline in revision 417.
  • Revision ID: monty@inaugust.com-20080922235343-ihqvp6g9k1mtzxmc
Renamed max/min.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
 
194
194
  if (!stack_bottom || (uchar*) stack_bottom > (uchar*) &fp)
195
195
  {
196
 
    ulong tmp= min(0x10000,thread_stack);
 
196
    ulong tmp= cmin(0x10000,thread_stack);
197
197
    /* Assume that the stack starts at the previous even 65K */
198
198
    stack_bottom= (uchar*) (((ulong) &fp + tmp) &
199
199
                          ~(ulong) 0xFFFF);