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

« back to all changes in this revision

Viewing changes to tests/unit/connect.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:
47
47
  (void) argc;
48
48
  (void) argv;
49
49
 
50
 
  drizzle_st *con= drizzle_create_tcp(getenv("MYSQL_SERVER"),
51
 
                                      getenv("MYSQL_PORT") ? atoi("MYSQL_PORT") : DRIZZLE_DEFAULT_TCP_PORT,
52
 
                                      getenv("MYSQL_USER"),
53
 
                                      getenv("MYSQL_PASSWORD"),
54
 
                                      getenv("MYSQL_SCHEMA"), 0);
 
50
  drizzle_st *con= drizzle_create(getenv("MYSQL_SERVER"),
 
51
                                  getenv("MYSQL_PORT") ? atoi("MYSQL_PORT") : DRIZZLE_DEFAULT_TCP_PORT,
 
52
                                  getenv("MYSQL_USER"),
 
53
                                  getenv("MYSQL_PASSWORD"),
 
54
                                  getenv("MYSQL_SCHEMA"), 0);
55
55
  ASSERT_NOT_NULL_(con, "Drizzle connection object creation error");
56
56
 
57
57
  drizzle_return_t ret= drizzle_connect(con);