~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2009-06-03 19:30:45 UTC
  • mfrom: (1046.1.6 merge)
  • Revision ID: brian@gaz-20090603193045-4xgeczyfixh07beg
MergeĀ forĀ Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
/* Insert of records */
18
18
 
19
 
/*
20
 
  INSERT DELAYED
21
 
 
22
 
  Drizzle has a different form of DELAYED then MySQL. DELAYED is just
23
 
  a hint to the the sorage engine (which can then do whatever it likes.
24
 
*/
25
19
#include <drizzled/server_includes.h>
26
20
#include <drizzled/sql_select.h>
27
21
#include <drizzled/show.h>
1551
1545
 
1552
1546
      if (!(create_info->options & HA_LEX_CREATE_TMP_TABLE))
1553
1547
      {
1554
 
        pthread_mutex_lock(&LOCK_open);
 
1548
        pthread_mutex_lock(&LOCK_open); /* CREATE TABLE... has found that the table already exists for insert and is adapting to use it */
1555
1549
        if (reopen_name_locked_table(session, create_table, false))
1556
1550
        {
1557
1551
          quick_rm_table(create_info->db_type, create_table->db,