~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-05 12:55:59 UTC
  • mto: This revision was merged to the branch mainline in revision 2395.
  • Revision ID: olafvdspek@gmail.com-20110805125559-fip89v61zimhde1b
Rename set_db to set_schema

Show diffs side-by-side

added added

removed removed

Lines of Context:
888
888
    attributes including security context. In the future, this operation
889
889
    will be made private and more convenient interface will be provided.
890
890
  */
891
 
  void set_db(const std::string&);
 
891
  void set_schema(const std::string&);
892
892
 
893
893
  /*
894
894
    Copy the current database to the argument. Use the current arena to
895
895
    allocate memory for a deep copy: current database may be freed after
896
896
    a statement is parsed but before it's executed.
897
897
  */
898
 
  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);
899
899
 
900
900
public:
901
901