[Groonga-commit] pgroonga/pgroonga at ea89fd3 [master] Fix a typo

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Nov 29 18:18:56 JST 2016


Kouhei Sutou	2016-11-29 18:18:56 +0900 (Tue, 29 Nov 2016)

  New Revision: ea89fd3451a45d35b13fc9b31e83781a3f846a50
  https://github.com/pgroonga/pgroonga/commit/ea89fd3451a45d35b13fc9b31e83781a3f846a50

  Message:
    Fix a typo

  Modified files:
    src/pgroonga.c

  Modified: src/pgroonga.c (+1 -1)
===================================================================
--- src/pgroonga.c    2016-11-29 18:18:43 +0900 (7427fe3)
+++ src/pgroonga.c    2016-11-29 18:18:56 +0900 (71a362a)
@@ -610,7 +610,7 @@ PGrnConvertToDatum(grn_obj *value, Oid typeID)
 #ifdef HAVE_INT64_TIMESTAMP
 		timestamp += usec;
 #else
-		timestamp += ((double) used) / USECS_PER_SEC;
+		timestamp += ((double) usec) / USECS_PER_SEC;
 #endif
 		if (typeID == TIMESTAMPOID)
 			PG_RETURN_TIMESTAMP(timestamp);
-------------- next part --------------
HTML����������������������������...
Download 



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