From b473f054ba35b41015d54a530b66ed73a4201e6a Mon Sep 17 00:00:00 2001
From: longganhua <long>
Date: 星期四, 18 七月 2019 14:20:44 +0800
Subject: [PATCH] syncdb.go

---
 command/query.go |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/command/query.go b/command/query.go
index a683a66..0649e85 100644
--- a/command/query.go
+++ b/command/query.go
@@ -167,6 +167,7 @@
 				break OUTER
 			}
 			handler.ResponseReceived(r)
+			return
 
 		case <-c.ShutdownCh:
 			return 1
@@ -220,7 +221,7 @@
 	}
 
 	/**   my self example*/
-	fmt.Println("x length is: ", len(payload))
+	fmt.Println("x length is: ", payload)
 
 	// // byte to file.
 	sdb.Dbconn.Close()

--
Gitblit v1.8.0