~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/info_schema_table.h

  • Committer: Trond Norbye
  • Date: 2009-11-29 11:31:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1256.
  • Revision ID: trond.norbye@sun.com-20091129113139-i9mkj11yynytf2n3
Fix compile error: find_if --> std::find_if

Show diffs side-by-side

added added

removed removed

Lines of Context:
537
537
  void addRow(unsigned char *buf, size_t len)
538
538
  {
539
539
    uint32_t cs= drizzled::hash::crc32((const char *) buf, len);
540
 
    Rows::iterator it= find_if(rows.begin(),
541
 
                               rows.end(),
542
 
                               FindRowByChecksum(cs));
 
540
    Rows::iterator it= std::find_if(rows.begin(),
 
541
                                    rows.end(),
 
542
                                    FindRowByChecksum(cs));
543
543
    if (it == rows.end())
544
544
    {
545
545
      InfoSchemaRecord *record= new InfoSchemaRecord(buf, len);