~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Stewart Smith
  • Date: 2009-03-16 06:58:44 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 940.
  • Revision ID: stewart@flamingspork.com-20090316065844-zjv6uh8a4i3coujc
yet more variable alignment/type fixes.

Makes status test pass on solaris sparc64

Show diffs side-by-side

added added

removed removed

Lines of Context:
1471
1471
          value= ((char *) status_var + (ulong) value);
1472
1472
          /* fall through */
1473
1473
        case SHOW_LONG:
1474
 
        case SHOW_LONG_NOFLUSH: // the difference lies in refresh_status()
1475
1474
          end= int10_to_str(*(long*) value, buff, 10);
1476
1475
          break;
1477
1476
        case SHOW_LONGLONG_STATUS:
1500
1499
          end+= sprintf(buff,"%s", *(bool*) value ? "ON" : "OFF");
1501
1500
          break;
1502
1501
        case SHOW_INT:
 
1502
        case SHOW_INT_NOFLUSH: // the difference lies in refresh_status()
1503
1503
          end= int10_to_str((long) *(uint32_t*) value, buff, 10);
1504
1504
          break;
1505
1505
        case SHOW_HAVE: