[Groonga-commit] groonga/gcs [master] Convert version number of delete batch from string to uint

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Mon Dec 10 17:20:23 JST 2012


YUKI Hiroshi	2012-12-10 17:20:23 +0900 (Mon, 10 Dec 2012)

  New Revision: 83defe6de1d9e3152e9ca81441a8f9a06f3462e6
  https://github.com/groonga/gcs/commit/83defe6de1d9e3152e9ca81441a8f9a06f3462e6

  Log:
    Convert version number of delete batch from string to uint

  Modified files:
    lib/batch/xml.js

  Modified: lib/batch/xml.js (+1 -1)
===================================================================
--- lib/batch/xml.js    2012-12-10 17:19:43 +0900 (be2342e)
+++ lib/batch/xml.js    2012-12-10 17:20:23 +0900 (d496805)
@@ -54,7 +54,7 @@ function toJSON(xml) {
       var batch = {
             type: 'delete',
             id: item['@'].id,
-            version: item['@'].version
+            version: parseInt(item['@'].version)
           };
       batches.push(batch);
     });
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る