Permalink
Browse files

Fix verbosity command

Change-Id: Ied663067d90bbc5686b2a56afcfbe56f40d36e31
Reviewed-on: http://review.couchbase.org/18667
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  • Loading branch information...
1 parent 8eebb76 commit 96448456c1b86d1e03d9ccd5cc08179f2039c3ba @trondn trondn committed with ingenthr Jul 21, 2012
@@ -30,7 +30,7 @@
@Override
public void execute(BinaryCommand cmd, MemcachedServer server, MemcachedConnection client) {
- int req = cmd.getInputBuffer().getInt(24);
+ int req = cmd.getInputBuffer().getInt(0);
Level level;
switch (req) {
@@ -104,6 +104,8 @@ static CommandCode valueOf(byte cc) {
return APPENDQ;
case 0x1a:
return PREPENDQ;
+ case 0x1b:
+ return VERBOSITY;
case 0x1c:
return TOUCH;
case 0x1d:
@@ -179,6 +181,8 @@ static String toString(CommandCode cc) {
return "appendq";
case PREPENDQ:
return "prependq";
+ case VERBOSITY:
+ return "verbosity";
case SASL_LIST_MECHS:
return "sasl_list_mechs";
case SASL_AUTH:

0 comments on commit 9644845

Please sign in to comment.