~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/net_serv.cc

  • Committer: Lee Bieber
  • Date: 2010-11-20 22:04:04 UTC
  • mfrom: (1942.1.4 b)
  • Revision ID: kalebral@gmail.com-20101120220404-2qpb4xuik9wv9u1q
Merge Lee -  Run bzr ignore for leftover files
Merge Shrews - Add a --replicate-query option to the server which controls whether or not the SQL query string is included in the GPB Statement messages.
Merge Andrew - fix bug 665119: drizzleslap has -i mapped to two options
Merge Andrew fix bug 674145: Table Names Not Case Matched

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include "vio.h"
38
38
#include "net_serv.h"
39
39
 
40
 
namespace drizzle_plugin
41
 
{
42
 
 
43
40
using namespace std;
44
41
using namespace drizzled;
45
42
 
579
576
      break;
580
577
    }
581
578
    pos+=length;
582
 
 
583
 
    /* If this is an error we may not have a current_session any more */
584
 
    if (current_session)
585
 
      current_session->status_var.bytes_sent+= length;
 
579
    current_session->status_var.bytes_sent+= length;
586
580
  }
587
581
end:
588
582
  if ((net->compress) && (packet != NULL))
904
898
  net->last_error[0]= '\0';
905
899
  strcpy(net->sqlstate, not_error_sqlstate);
906
900
}
907
 
 
908
 
} /* namespace drizzle_plugin */