~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.cc

edit

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+= "<no user>";
 
39
    arg.append("no user");
40
40
  }
41
41
  else
42
42
  {
43
 
    arg+= _user;
 
43
    arg.append(_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
 
 
52
45
}
53
46
 
54
47
} /* namespace identifier */