~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_union.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
      assert(!empty_table);
309
309
      empty_table= (Table*) session->calloc(sizeof(Table));
310
310
      types.clear();
311
 
      List<Item>::iterator it(sl->item_list);
 
311
      List<Item>::iterator it(sl->item_list.begin());
312
312
      Item *item_tmp;
313
313
      while ((item_tmp= it++))
314
314
      {
327
327
                   ER(ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT),MYF(0));
328
328
        goto err;
329
329
      }
330
 
      List<Item>::iterator it(sl->item_list);
331
 
      List<Item>::iterator tp(types);
 
330
      List<Item>::iterator it(sl->item_list.begin());
 
331
      List<Item>::iterator tp(types.begin());
332
332
      Item *type, *item_tmp;
333
333
      while ((type= tp++, item_tmp= it++))
334
334
      {
344
344
      Check that it was possible to aggregate
345
345
      all collations together for UNION.
346
346
    */
347
 
    List<Item>::iterator tp(types);
 
347
    List<Item>::iterator tp(types.begin());
348
348
    Item *type;
349
349
    uint64_t create_options;
350
350