~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 14:35:15 UTC
  • mto: (2247.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323143515-p4tn90h1ipnr7rgx
Refactor Identifier::getSQLPath()

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    password_type(NONE)
53
53
  { }
54
54
 
55
 
  virtual void getSQLPath(std::string &arg) const;
 
55
  virtual std::string getSQLPath() const
 
56
        {
 
57
                return _user.empty() ? "<no user>" : _user;
 
58
        }
56
59
 
57
60
  bool hasPassword() const
58
61
  {