~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.cc

  • Committer: Brian Aker
  • Date: 2009-11-18 06:24:48 UTC
  • mfrom: (1220.1.15 staging)
  • Revision ID: brian@gaz-20091118062448-o36lo3yv81sc6u9z
Merge Brian + Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
    table is marked to be 'used for insert' in which case we should never
159
159
    mark this table as 'const table' (ie, one that has only one row).
160
160
  */
161
 
  if (unique_table(session, table_list, table_list->next_global, 0))
 
161
  if (unique_table(table_list, table_list->next_global))
162
162
  {
163
163
    my_error(ER_UPDATE_TABLE_USED, MYF(0), table_list->table_name);
164
164
    return(true);