~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

  • Committer: Monty Taylor
  • Date: 2010-11-25 17:05:36 UTC
  • mto: (1953.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1955.
  • Revision ID: mordred@inaugust.com-20101125170536-lik3sg2qmxjgowle
Fixed formats on 32-bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1698
1698
 
1699
1699
  if (opt_only_print)
1700
1700
  {
1701
 
    printf("/* CON: %lu */ %.*s;\n",
1702
 
           (size_t)drizzle_context(drizzle_con_drizzle(&con)),
 
1701
    printf("/* CON: %" PRIu64 " */ %.*s;\n",
 
1702
           (uint64_t)drizzle_context(drizzle_con_drizzle(&con)),
1703
1703
           len, query);
1704
1704
    return 0;
1705
1705
  }
1807
1807
 
1808
1808
  if (opt_only_print)
1809
1809
  {
1810
 
    printf("/* CON: %lu */ use %s;\n",
1811
 
           (size_t)drizzle_context(drizzle_con_drizzle(&con)),
 
1810
    printf("/* CON: %" PRIu64 " */ use %s;\n",
 
1811
           (uint64_t)drizzle_context(drizzle_con_drizzle(&con)),
1812
1812
           db);
1813
1813
  }
1814
1814
  else