Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Add Ruby 3.0 to the cross compile list
* Fix segfault when asking if client was dead after closing it. Fixes #519.
* Mark `alloc` function as undefined on `TinyTds::Result`. Fixes #515.

## 2.1.5

Expand Down
1 change: 1 addition & 0 deletions ext/tiny_tds/result.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ void init_tinytds_result() {
cDate = rb_const_get(rb_cObject, rb_intern("Date"));
/* Define TinyTds::Result */
cTinyTdsResult = rb_define_class_under(mTinyTds, "Result", rb_cObject);
rb_undef_alloc_func(cTinyTdsResult);
/* Define TinyTds::Result Public Methods */
rb_define_method(cTinyTdsResult, "fields", rb_tinytds_result_fields, 0);
rb_define_method(cTinyTdsResult, "each", rb_tinytds_result_each, -1);
Expand Down