~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Monty Taylor
  • Date: 2008-11-04 18:01:26 UTC
  • mto: (575.1.7 fix-headers)
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081104180126-88cfh3g4q1szu7us
Moved some stuff out of handler.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <drizzled/slave.h>
31
31
#include <drizzled/sql_parse.h>
32
32
#include <drizzled/probes.h>
 
33
#include <drizzled/tableop_hooks.h>
33
34
 
34
35
/* Define to force use of my_malloc() if the allocated memory block is big */
35
36
 
1566
1567
                                      Alter_info *alter_info,
1567
1568
                                      List<Item> *items,
1568
1569
                                      DRIZZLE_LOCK **lock,
1569
 
                                      TABLEOP_HOOKS *hooks)
 
1570
                                      Tableop_hooks *hooks)
1570
1571
{
1571
1572
  Table tmp_table;              // Used during 'Create_field()'
1572
1573
  TABLE_SHARE share;
1725
1726
  DRIZZLE_LOCK *extra_lock= NULL;
1726
1727
  
1727
1728
 
1728
 
  TABLEOP_HOOKS *hook_ptr= NULL;
 
1729
  Tableop_hooks *hook_ptr= NULL;
1729
1730
  /*
1730
1731
    For row-based replication, the CREATE-SELECT statement is written
1731
1732
    in two pieces: the first one contain the CREATE TABLE statement
1744
1745
    slave.  Hence, we have to hold on to the CREATE part of the
1745
1746
    statement until the statement has finished.
1746
1747
   */
1747
 
  class MY_HOOKS : public TABLEOP_HOOKS {
 
1748
  class MY_HOOKS : public Tableop_hooks {
1748
1749
  public:
1749
1750
    MY_HOOKS(select_create *x, TableList *create_table,
1750
1751
             TableList *select_tables)