~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/last_insert.cc

  • Committer: Brian Aker
  • Date: 2010-12-31 02:23:39 UTC
  • mto: (2054.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2049.
  • Revision ID: brian@tangent.org-20101231022339-g07ztt32wdwqdz46
Make it so that tables are sent not as raw but actual drop table commands to
the replication system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    int64_t value= args[0]->val_int();
34
34
    null_value= args[0]->null_value;
35
35
    /*
36
 
      LAST_INSERT_ID(X) must affect the client's mysql_insert_id() as
 
36
      LAST_INSERT_ID(X) must affect the client's insert_id() as
37
37
      documented in the manual. We don't want to touch
38
38
      first_successful_insert_id_in_cur_stmt because it would make
39
39
      LAST_INSERT_ID(X) take precedence over an generated auto_increment