-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accessor: Add missing grn_obj_unref with nonexistent _mXXX (#1350)
- Loading branch information
1 parent
2c15283
commit 8048fb8
Showing
3 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...mand/suite/select/output_columns/nonexistent/reference_count/pseudo_start_with_m.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
table_create Sites TABLE_HASH_KEY ShortText | ||
[[0,0.0,0.0],true] | ||
column_create Sites uri COLUMN_SCALAR ShortText | ||
[[0,0.0,0.0],true] | ||
load --table Sites | ||
[ | ||
["_key","uri"], | ||
["groonga","http://groonga.org/"] | ||
] | ||
[[0,0.0,0.0],1] | ||
log_level --level dump | ||
[[0,0.0,0.0],true] | ||
select Sites --output_columns '_m_nonexistent' | ||
[[0,0.0,0.0],[[[1],[],[]]]] | ||
#|-| [obj][open] <256>(<Sites>):<48>(<table:hash_key>) | ||
#|-| [obj][close] <256>(<Sites>):<48>(<table:hash_key>) | ||
log_level --level notice | ||
[[0,0.0,0.0],true] |
17 changes: 17 additions & 0 deletions
17
.../command/suite/select/output_columns/nonexistent/reference_count/pseudo_start_with_m.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#$GRN_ENABLE_REFERENCE_COUNT=yes | ||
table_create Sites TABLE_HASH_KEY ShortText | ||
column_create Sites uri COLUMN_SCALAR ShortText | ||
|
||
load --table Sites | ||
[ | ||
["_key","uri"], | ||
["groonga","http://groonga.org/"] | ||
] | ||
|
||
log_level --level dump | ||
#@add-important-log-levels dump | ||
#@add-ignore-log-pattern /\A\[io\]/ | ||
select Sites --output_columns '_m_nonexistent' | ||
log_level --level notice | ||
#@remove-ignore-log-pattern /\A\[io\]/ | ||
#@remove-important-log-levels dump |