~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 01:32:11 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226013211-c1tx52h7evovmijg
fixed dict and eval.

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 */