~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/query.cc

  • Committer: Brian Aker
  • Date: 2011-12-20 07:27:58 UTC
  • mto: (2478.1.1 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2482.
  • Revision ID: brian@tangent.org-20111220072758-f11kcq2i96nq2yyy
Use constructors where we can.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
      return NULL;
121
121
    }
122
122
 
123
 
    memset(query, 0, sizeof(drizzle_query_st));
124
123
    query->options|= DRIZZLE_CON_ALLOCATED;
125
124
  }
126
125
  else