~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Andrew Hutchings
  • Date: 2011-03-29 09:33:49 UTC
  • mto: (2257.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: andrew@linuxjedi.co.uk-20110329093349-oz4cgb9f7l1032m3
Fix Drizzle to compile in GCC 4.6 (which fires warnings and therefore errors if a variable is set and not read)

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
  List_item *values;
253
253
  Name_resolution_context *context;
254
254
  Name_resolution_context_state ctx_state;
255
 
  thr_lock_type lock_type;
256
255
  Item *unused_conds= 0;
257
256
 
258
257
 
269
268
    return true;
270
269
  }
271
270
 
272
 
  lock_type= table_list->lock_type;
273
 
 
274
271
  session->set_proc_info("init");
275
272
  session->used_tables=0;
276
273
  values= its++;