[Groonga-commit] groonga/grnci at 8868e46 [master] Fix wrong argument names to table_copy.

Back to archive index

Susumu Yata null+****@clear*****
Thu Sep 14 15:49:06 JST 2017


Susumu Yata	2017-09-14 15:49:06 +0900 (Thu, 14 Sep 2017)

  New Revision: 8868e46f288e9ea79dca994be204d01009f1a663
  https://github.com/groonga/grnci/commit/8868e46f288e9ea79dca994be204d01009f1a663

  Message:
    Fix wrong argument names to table_copy.

  Modified files:
    v2/db.go

  Modified: v2/db.go (+2 -2)
===================================================================
--- v2/db.go    2017-09-14 15:41:10 +0900 (0a3bfef)
+++ v2/db.go    2017-09-14 15:49:06 +0900 (aed4a1e)
@@ -2209,8 +2209,8 @@ func (db *DB) Status() (*DBStatus, error) {
 // TableCopy executes table_copy.
 func (db *DB) TableCopy(from, to string) error {
 	resp, err := db.Invoke("table_copy", map[string]interface{}{
-		"from": from,
-		"to":   to,
+		"from_name": from,
+		"to_name":   to,
 	}, nil)
 	if err != nil {
 		return err
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170914/96268871/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index