Kouhei Sutou
null+****@clear*****
Thu Nov 3 16:37:14 JST 2016
Kouhei Sutou 2016-11-03 16:37:14 +0900 (Thu, 03 Nov 2016) New Revision: e80f85129f5e9582dce5b7ee16bf8927d910af34 https://github.com/pgroonga/pgroonga/commit/e80f85129f5e9582dce5b7ee16bf8927d910af34 Message: jsonb: fix code position for readability Modified files: src/pgrn_jsonb.c Modified: src/pgrn_jsonb.c (+3 -3) =================================================================== --- src/pgrn_jsonb.c 2016-11-03 16:37:00 +0900 (47babcd) +++ src/pgrn_jsonb.c 2016-11-03 16:37:14 +0900 (2f52b8e) @@ -515,15 +515,15 @@ PGrnJSONBInsertValueSet(PGrnJSONBInsertData *data, if (!added) return; - if (column) - nColumns++; - GRN_BULK_REWIND(&(data->path)); PGrnJSONGenerateCompletePath(&(data->components), &(data->path)); setPath = (GRN_TEXT_LEN(&(data->path)) < GRN_TABLE_MAX_KEY_SIZE); if (setPath) nColumns++; + if (column) + nColumns++; + if (data->index) walData = PGrnWALStart(data->index); -------------- next part -------------- HTML����������������������������...下载