~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/user.cc

  • Committer: patrick crews
  • Date: 2011-02-04 20:41:08 UTC
  • mto: (2145.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: gleebix@gmail.com-20110204204108-cyhtpo5kfu7wy88q
Overhaul of code.  We can run rabbitmq : )  We now better encapsulate a per-executor working environment = one step closer to --parallel >: ) using subprocess goodness for server control

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