~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.cc

  • Committer: Brian Aker
  • Date: 2011-02-17 10:09:00 UTC
  • mfrom: (2173.2.1 clean-include-usuage)
  • Revision ID: brian@tangent.org-20110217100900-4tpuxxzdl1sj00sh
Merge Monty for headers.

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.h>
 
23
#include <drizzled/identifier/user.h>
24
24
 
25
25
namespace drizzled
26
26
{
36
36
{
37
37
  if (_user.empty())
38
38
  {
39
 
    arg.append("no user");
 
39
    arg+= "<no user>";
40
40
  }
41
41
  else
42
42
  {
43
 
    arg.append(_user);
 
43
    arg+= _user;
44
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
 
45
52
}
46
53
 
47
54
} /* namespace identifier */