~drizzle-trunk/libdrizzle/jenkins-Libdrizzle-6

« back to all changes in this revision

Viewing changes to tests/unit/binlog.c

  • Committer: Andrew Hutchings
  • Date: 2012-12-17 12:03:43 UTC
  • mfrom: (44.1.1 libdrizzle)
  • Revision ID: andrew@linuxjedi.co.uk-20121217120343-tgde4ngz85yc6rsq
Merge in Brian's autoconf work

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 *
36
36
 */
37
37
 
 
38
#include "config.h"
 
39
 
38
40
#include <libdrizzle/drizzle_client.h>
39
41
#include <stdio.h>
40
42
#include <stdlib.h>
81
83
    binlog_event= drizzle_binlog_get_event(result, &ret);
82
84
    if (ret != DRIZZLE_RETURN_OK)
83
85
      break;
84
 
    printf("Timestamp: %"PRIu32"\n", binlog_event->timestamp);
 
86
    printf("Timestamp: %" PRIu32 "\n", binlog_event->timestamp);
85
87
    printf("Type: %"PRIu8"\n", binlog_event->type);
86
88
    printf("Server-id: %"PRIu32"\n", binlog_event->server_id);
87
89
    printf("Next-pos: %"PRIu32"\n", binlog_event->next_pos);