~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
1767
1767
             global_variables_dynamic_size, 0,
1768
1768
             new_size - global_variables_dynamic_size);
1769
1769
      memset(max_system_variables.dynamic_variables_ptr +
1770
 
             global_variables_dynamic_size, 0, 
 
1770
             global_variables_dynamic_size, 0,
1771
1771
             new_size - global_variables_dynamic_size);
1772
1772
      global_variables_dynamic_size= new_size;
1773
1773
    }
1917
1917
void plugin_sessionvar_init(Session *session)
1918
1918
{
1919
1919
  plugin_ref old_table_plugin= session->variables.table_plugin;
1920
 
  
 
1920
 
1921
1921
  session->variables.table_plugin= NULL;
1922
1922
  cleanup_variables(session, &session->variables);
1923
 
  
 
1923
 
1924
1924
  session->variables= global_system_variables;
1925
1925
  session->variables.table_plugin= NULL;
1926
1926
 
2556
2556
      if (opt->flags & PLUGIN_VAR_NOCMDOPT)
2557
2557
        continue;
2558
2558
 
2559
 
      optname= (char*) memdup_root(mem_root, v->key + 1, 
 
2559
      optname= (char*) memdup_root(mem_root, v->key + 1,
2560
2560
                                   (optnamelen= v->name_len) + 1);
2561
2561
    }
2562
2562