Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add

  • Loading branch information...
commit a9ce866400152b3aefa4647f48b3143ef496b112 1 parent a488d69
authored November 27, 2009

Showing 2 changed files with 4 additions and 5 deletions. Show diff stats Hide diff stats

  1. 7  redis-sharp.cs
  2. 2  test.cs
7  redis-sharp.cs
@@ -122,6 +122,8 @@ public void SetNX (string key, byte [] value)
122 122
 		ExpectSuccess ();
123 123
 	}
124 124
 
  125
+#if false
  126
+	// Not well documented how bulk operations work
125 127
 	public void Set (IDictionary<string,byte []> dict)
126 128
 	{
127 129
 		if (dict == null)
@@ -140,7 +142,7 @@ public void Set (IDictionary<string,byte []> dict)
140 142
 		SendDataCommand (ms.ToArray (), "MSET\r\n");
141 143
 		ExpectSuccess ();
142 144
 	}
143  
-	
  145
+#endif
144 146
 	public byte [] Get (string key)
145 147
 	{
146 148
 		if (key == null)
@@ -532,8 +534,6 @@ public void Shutdown ()
532 534
 		return Encoding.UTF8.GetString (SendExpectData (null, "KEYS {0}\r\n", pattern)).Split (' ');
533 535
 	}
534 536
 
535  
-#if false
536  
-	// Not well documented how bulk operations work
537 537
 	public byte [][] GetKeys (params string [] keys)
538 538
 	{
539 539
 		if (keys == null)
@@ -564,7 +564,6 @@ public void Shutdown ()
564 564
 		}
565 565
 		throw new ResponseException ("Unknown reply on multi-request: " + c + s);
566 566
 	}
567  
-#endif
568 567
 	
569 568
 	public void Dispose ()
570 569
 	{
2  test.cs
@@ -61,6 +61,6 @@ static void Main ()
61 61
 		dict ["hello"] = Encoding.UTF8.GetBytes ("world");
62 62
 		dict ["goodbye"] = Encoding.UTF8.GetBytes ("my dear");
63 63
 		
64  
-		r.Set (dict);
  64
+		//r.Set (dict);
65 65
 	}
66 66
 }

0 notes on commit a9ce866

Please sign in to comment.
Something went wrong with that request. Please try again.