~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
namespace drizzled {
49
49
 
50
 
extern char internal_table_name[2];
51
 
extern char empty_c_string[1];
52
 
extern const char **errmesg;
53
50
extern uint32_t server_id;
54
51
extern std::string server_uuid;
55
52
 
891
888
    attributes including security context. In the future, this operation
892
889
    will be made private and more convenient interface will be provided.
893
890
  */
894
 
  void set_db(const std::string&);
 
891
  void set_schema(const std::string&);
895
892
 
896
893
  /*
897
894
    Copy the current database to the argument. Use the current arena to
898
895
    allocate memory for a deep copy: current database may be freed after
899
896
    a statement is parsed but before it's executed.
900
897
  */
901
 
  bool copy_db_to(const char*& p_db, size_t& p_db_length);
 
898
  bool copy_db_to(char*& p_db, size_t& p_db_length);
902
899
 
903
900
public:
904
901