~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2010-07-30 02:42:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1679.
  • Revision ID: brian@gaz-20100730024229-3vnq0wmp3ep6hxf5
This replaces the allocation we do for insert/update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
808
808
          that matches, is updated. If update causes a conflict again,
809
809
          an error is returned
810
810
        */
811
 
        assert(table->insert_values != NULL);
 
811
        assert(table->insert_values.size());
812
812
        table->storeRecordAsInsert();
813
813
        table->restoreRecord();
814
814
        assert(info->update_fields->elements ==