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

« back to all changes in this revision

Viewing changes to tests/unit/statement.c

  • Committer: Continuous Integration
  • Date: 2012-12-29 11:51:43 UTC
  • mfrom: (68.1.1 5.1-trunk)
  • Revision ID: ci@drizzle.org-20121229115143-b2w1xjx16neqxyu2
Merge lp:~brianaker/libdrizzle/yatl_lite_bugreport_fix Build: jenkins-Libdrizzle-17

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 *
36
36
 */
37
37
 
 
38
#include <yatl/lite.h>
 
39
 
38
40
#include <libdrizzle-5.1/libdrizzle.h>
39
41
#include <stdio.h>
40
42
#include <stdlib.h>
43
45
#include <inttypes.h>
44
46
#include <string.h>
45
47
 
46
 
#ifndef EXIT_SKIP
47
 
# define EXIT_SKIP 77
48
 
#endif
49
 
 
50
48
int main(int argc, char *argv[])
51
49
{
52
50
  (void) argc;
64
62
  ret = drizzle_connect(con);
65
63
  if (ret != DRIZZLE_RETURN_OK)
66
64
  {
67
 
    printf("Drizzle connection failure\n");
68
65
    drizzle_quit(con);
69
 
    return EXIT_SKIP;
 
66
    SKIP_IF_(ret != DRIZZLE_RETURN_OK, "Drizzle connection failure");
70
67
  }
71
68
 
72
69
  drizzle_query_str(con, "create table libdrizzle.t1 (a int)", &ret);