[Groonga-commit] groonga/gcs [master] Explicitly state that the current rid is a dummy

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 25日 (月) 12:00:34 JST


Yoji SHIDARA	2012-06-25 12:00:34 +0900 (Mon, 25 Jun 2012)

  New Revision: 681eab0ef8424ab0fd67db424c404a857c0d1ad2
  https://github.com/groonga/gcs/commit/681eab0ef8424ab0fd67db424c404a857c0d1ad2

  Log:
    Explicitly state that the current rid is a dummy
    
    reflects https://github.com/groonga/gcs/commit/ee8114b90e9ee5fce9c70a6f36ad8a41be4893a9#commitcomment-1497662

  Modified files:
    lib/api/2011-02-01/search.js

  Modified: lib/api/2011-02-01/search.js (+3 -3)
===================================================================
--- lib/api/2011-02-01/search.js    2012-06-22 18:20:20 +0900 (dcbc2eb)
+++ lib/api/2011-02-01/search.js    2012-06-25 12:00:34 +0900 (c4231be)
@@ -47,16 +47,16 @@ exports.createHandler = function(database) {
     select(database, options, function(error, data) {
       var finishedAt = new Date();
       var elapsedTime = finishedAt - startedAt;
-      var rid = '000000000000000000000000000000000000000000000000000000000000000';
+      var dummyRid = '000000000000000000000000000000000000000000000000000000000000000';
       var info = {
-        rid: rid,
+        rid: dummyRid,
         'time-ms': elapsedTime,
         'cpu-time-ms': 0 // TODO
       };
       if (error) {
         var body = {
           error: 'info',
-          rid: rid,
+          rid: dummyRid,
           'time-ms': elapsedTime,
           'cpu-time-ms': 0, // TODO
           messages: [
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Descargar 



Groonga-commit メーリングリストの案内
Back to archive index