~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.h

  • 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:
50
50
    password_type(NONE)
51
51
  { }
52
52
 
 
53
  User(const std::string username_arg):
 
54
    password_type(NONE),
 
55
    _user(username_arg),
 
56
    _address("")
 
57
  { }
 
58
 
53
59
  virtual std::string getSQLPath() const
54
 
        {
55
 
                return _user.empty() ? "<no user>" : _user;
56
 
        }
 
60
  {
 
61
    return _user.empty() ? "<no user>" : _user;
 
62
  }
57
63
 
58
64
  bool hasPassword() const
59
65
  {