~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_list.h

  • Committer: Brian Aker
  • Date: 2008-07-11 00:33:12 UTC
  • mfrom: (51.1.83 remove-dbug)
  • Revision ID: brian@tangent.org-20080711003312-f4sf5n2z3obor1u8
Comming Jay's merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
    {
258
258
      if (!node->info)
259
259
      {
260
 
        DBUG_PRINT("list_invariants",("%s: error: NULL element in the list", 
261
 
                                      name));
262
260
        return false;
263
261
      }
264
262
      node= node->next;
266
264
    }
267
265
    if (last != &(node->next))
268
266
    {
269
 
      DBUG_PRINT("list_invariants", ("%s: error: wrong last pointer", name));
270
267
      return false;
271
268
    }
272
269
    if (cnt+1 != elements)
273
270
    {
274
 
      DBUG_PRINT("list_invariants", ("%s: error: wrong element count", name));
275
271
      return false;
276
272
    }
277
 
    DBUG_PRINT("list_invariants", ("%s: list is ok", name));
278
273
    return true;
279
274
  }
280
275
#endif // LIST_EXTRA_DEBUG