~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.cc

  • Committer: Brian Aker
  • Date: 2010-12-31 21:25:11 UTC
  • mto: (2045.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2046.
  • Revision ID: brian@tangent.org-20101231212511-bhlyaw71ij4v15au
Make more time usage private.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <config.h>
 
20
#include "config.h"
21
21
 
22
 
#include <drizzled/identifier.h>
23
 
#include <drizzled/identifier/user.h>
 
22
#include "drizzled/identifier/user.h"
24
23
 
25
24
namespace drizzled
26
25
{
32
31
  return shared_ptr(new User);
33
32
}
34
33
 
35
 
void User::getSQLPath(std::string &arg) const
36
 
{
37
 
  if (_user.empty())
38
 
  {
39
 
    arg+= "<no user>";
40
 
  }
41
 
  else
42
 
  {
43
 
    arg+= _user;
44
 
  }
45
 
  // We should fix the below, to do so we need to match on localhost when we
46
 
  // create the object.
47
 
#if 0
48
 
  arg+= "@";
49
 
  arg+= _address;
50
 
#endif
51
 
 
52
 
}
53
34
 
54
35
} /* namespace identifier */
55
36
} /* namespace drizzled */