~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/item.h

  • Committer: Monty Taylor
  • Date: 2008-07-04 13:57:35 UTC
  • mfrom: (54 drizzle)
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: monty@inaugust.com-20080704135735-cumtxe8ipaynlymg
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1145
1145
#ifndef DBUG_OFF
1146
1146
  void dbug_print()
1147
1147
  {
1148
 
    fprintf(DBUG_FILE, "<field ");
1149
 
    if (field)
1150
 
    {
1151
 
      fprintf(DBUG_FILE, "'%s.%s': ", field->table->alias, field->field_name);
1152
 
      field->dbug_print();
1153
 
    }
1154
 
    else
1155
 
      fprintf(DBUG_FILE, "NULL");
1156
 
 
1157
 
    fprintf(DBUG_FILE, ", result_field: ");
1158
 
    if (result_field)
1159
 
    {
1160
 
      fprintf(DBUG_FILE, "'%s.%s': ",
1161
 
              result_field->table->alias, result_field->field_name);
1162
 
      result_field->dbug_print();
1163
 
    }
1164
 
    else
1165
 
      fprintf(DBUG_FILE, "NULL");
1166
 
    fprintf(DBUG_FILE, ">\n");
1167
1148
  }
1168
1149
#endif
1169
1150