~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/query.cc

  • Committer: Brian Aker
  • Date: 2011-12-19 17:01:31 UTC
  • mto: (2478.1.1 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2482.
  • Revision ID: brian@tangent.org-20111219170131-kg394kzsdpebm6g6
Mark all cases where you are using realloc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    query= new (std::nothrow) drizzle_query_st;
117
117
    if (query == NULL)
118
118
    {
119
 
      drizzle_set_error(drizzle, "drizzle_query_create", "malloc");
 
119
      drizzle_set_error(drizzle, __func__, "Failed to allocate.");
120
120
      return NULL;
121
121
    }
122
122