~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-23 15:52:28 UTC
  • mto: (2198.2.3 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2199.
  • Revision ID: olafvdspek@gmail.com-20110223155228-9d8k16dqdnxmc1sl
Use List::front()

Show diffs side-by-side

added added

removed removed

Lines of Context:
660
660
    if (item)
661
661
    {
662
662
      /* Have not read any field, thus input cursor is simply ended */
663
 
      if (item == fields_vars.head())
 
663
      if (item == &fields_vars.front())
664
664
        break;
665
665
      for (; item ; item= it++)
666
666
      {