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

« back to all changes in this revision

Viewing changes to tests/unit/query.c

  • Committer: Continuous Integration
  • Date: 2013-01-27 10:02:07 UTC
  • mfrom: (99.1.5 libdrizzle-5.1)
  • Revision ID: ci@drizzle.org-20130127100207-b2kd9o56kiv5e02q
Merge lp:~brianaker/libdrizzle/api-reworking Build: jenkins-Libdrizzle-59

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  drizzle_row_t row;
50
50
  int num_fields;
51
51
 
52
 
  drizzle_st *con= drizzle_create_tcp(getenv("MYSQL_SERVER"),
53
 
                                      getenv("MYSQL_PORT") ? atoi("MYSQL_PORT") : DRIZZLE_DEFAULT_TCP_PORT,
54
 
                                      getenv("MYSQL_USER"),
55
 
                                      getenv("MYSQL_PASSWORD"),
56
 
                                      getenv("MYSQL_SCHEMA"), 0);
 
52
  drizzle_st *con= drizzle_create(getenv("MYSQL_SERVER"),
 
53
                                  getenv("MYSQL_PORT") ? atoi("MYSQL_PORT") : DRIZZLE_DEFAULT_TCP_PORT,
 
54
                                  getenv("MYSQL_USER"),
 
55
                                  getenv("MYSQL_PASSWORD"),
 
56
                                  getenv("MYSQL_SCHEMA"), 0);
57
57
  ASSERT_NOT_NULL_(con, "Drizzle connection object creation error");
58
58
 
59
59
  drizzle_return_t ret= drizzle_connect(con);