~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Lee Bieber
  • Date: 2010-10-26 01:01:10 UTC
  • mfrom: (1878.1.2 merge)
  • Revision ID: kalebral@gmail.com-20101026010110-tcr5mh06md4fro2a
Merge Brian - Remove dynamic cast, causing performance issues in our benchmarks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1603
1603
 
1604
1604
        if (create_table->table)
1605
1605
        {
1606
 
          table::Concurrent *concurrent_table= dynamic_cast<table::Concurrent *>(create_table->table);
 
1606
          table::Concurrent *concurrent_table= static_cast<table::Concurrent *>(create_table->table);
1607
1607
 
1608
1608
          if (concurrent_table->reopen_name_locked_table(create_table, session))
1609
1609
          {