~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/net_serv.cc

  • Committer: Brian Aker
  • Date: 2010-12-03 18:46:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1973.
  • Revision ID: brian@tangent.org-20101203184631-rk40syiqbaitq9h8
Remove the use of "using std" from the plugin interface .cc files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include <config.h>
22
 
 
23
 
#include <drizzled/current_session.h>
 
21
#include "config.h"
 
22
#include <drizzled/session.h>
24
23
#include <drizzled/error.h>
25
 
#include <drizzled/session.h>
26
24
 
27
25
#include <assert.h>
28
26
#include <stdio.h>
39
37
#include "vio.h"
40
38
#include "net_serv.h"
41
39
 
42
 
namespace drizzle_plugin
43
 
{
44
 
 
45
40
using namespace std;
46
41
using namespace drizzled;
47
42
 
581
576
      break;
582
577
    }
583
578
    pos+=length;
584
 
 
585
 
    /* If this is an error we may not have a current_session any more */
586
 
    if (current_session)
587
 
      current_session->status_var.bytes_sent+= length;
 
579
    current_session->status_var.bytes_sent+= length;
588
580
  }
589
581
end:
590
582
  if ((net->compress) && (packet != NULL))
906
898
  net->last_error[0]= '\0';
907
899
  strcpy(net->sqlstate, not_error_sqlstate);
908
900
}
909
 
 
910
 
} /* namespace drizzle_plugin */