YUKI Hiroshi
null+****@clear*****
Thu Nov 1 11:45:03 JST 2012
YUKI Hiroshi 2012-11-01 11:45:03 +0900 (Thu, 01 Nov 2012) New Revision: 838be1dea3e89ccf36606d8c457b19b7b8d4bc63 https://github.com/groonga/gcs/commit/838be1dea3e89ccf36606d8c457b19b7b8d4bc63 Log: Return 0 by searchableDocumentsCount for not-existing domains Modified files: lib/database/domain.js Modified: lib/database/domain.js (+2 -1) =================================================================== --- lib/database/domain.js 2012-11-01 11:42:35 +0900 (20a94bd) +++ lib/database/domain.js 2012-11-01 11:45:03 +0900 (caebc1f) @@ -258,7 +258,8 @@ Domain.prototype = { }, get searchableDocumentsCount() { - if (!this.context) return 0; + if (!this.context || !this.exists()) + return 0; var options = { table: this.tableName, -------------- next part -------------- HTML����������������������������... 下载