~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.cc

  • Committer: Brian Aker
  • Date: 2010-12-19 06:20:54 UTC
  • mfrom: (2005.1.1 bug673105)
  • Revision ID: brian@tangent.org-20101219062054-1kt0l3dxs4z2z8md
Merge Dave.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include "config.h"
21
21
 
22
 
#include "drizzled/identifier.h"
23
22
#include "drizzled/identifier/user.h"
24
23
 
25
24
namespace drizzled
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.append("no user");
40
 
  }
41
 
  else
42
 
  {
43
 
    arg.append(_user);
44
 
  }
45
 
}
46
34
 
47
35
} /* namespace identifier */
48
36
} /* namespace drizzled */