~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.cc

  • Committer: Brian Aker
  • Date: 2011-04-04 21:37:55 UTC
  • mfrom: (2241.6.2 drizzle-trunk)
  • mto: This revision was merged to the branch mainline in revision 2268.
  • Revision ID: brian@tangent.org-20110404213755-k4kl3qd5fkbvjmhe
Merge in owner tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include <drizzled/message.h>
40
40
#include <drizzled/message/statement_transform.h>
41
41
#include <drizzled/message/transaction.pb.h>
 
42
#include <drizzled/message/access.h>
42
43
 
43
44
#include <string>
44
45
#include <vector>
892
893
    destination.append(" REPLICATE = FALSE");
893
894
  }
894
895
 
 
896
  if (message::has_definer(schema))
 
897
  {
 
898
    destination.append(" DEFINER ");
 
899
    destination.append(message::definer(schema));
 
900
  }
 
901
 
895
902
  return NONE;
896
903
}
897
904
 
1090
1097
    destination.append(" REPLICATE = FALSE");
1091
1098
  }
1092
1099
 
 
1100
  if (message::has_definer(table))
 
1101
  {
 
1102
    destination.append(" DEFINER ");
 
1103
    destination.append(message::definer(table));
 
1104
  }
 
1105
 
1093
1106
  return NONE;
1094
1107
}
1095
1108