incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/3] git commit: Fixed logic problem in truncate call.
Date Mon, 24 Jun 2013 01:11:33 GMT
Fixed logic problem in truncate call.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/bc37c57b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/bc37c57b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/bc37c57b

Branch: refs/heads/master
Commit: bc37c57bfda5096d6190ebaefa119035dcba8ea3
Parents: 002a0be
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Jun 23 21:10:35 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sun Jun 23 21:10:35 2013 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/shell/TruncateTableCommand.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bc37c57b/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
----------------------------------------------------------------------
diff --git a/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java b/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
index 3611860..2b5e7b8 100644
--- a/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
+++ b/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
@@ -35,7 +35,7 @@ public class TruncateTableCommand extends Command {
     }
     String tablename = args[1];
     List<String> tableList = client.tableList();
-    if (tableList.contains(tablename)) {
+    if (!tableList.contains(tablename)) {
       out.println("Table does not exist.");
       return;
     }


Mime
View raw message