forked from larskanis/ruby-odbc
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rb_funcall method when called with 0 as a third argument does not support NULL as the 4th argument. It should be replaced with 0 https://blog.peterzhu.ca/ruby-c-ext-part-3/ - Include header ruby/thread.h for method rb_thread_call_without_gvl to fix implicit declaration of method error - First argument of rb_thread_call_without_gvl method should be type void *(*func)(void *). In the code the argument type was VALUE(*func)(void *). Implement SQLExecDirect_wrapper_with_gvl to type caste the result of SQLExecDirect_wrapper into void *
- Loading branch information
pandeyam
committed
Jun 27, 2024
1 parent
fd9193f
commit 28a02b4
Showing
3 changed files
with
76 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
ODBC binding for Ruby | ||
--------------------- | ||
Thu Jun 27 2024 version 0.103.cv release <[email protected]> | ||
* Argument data type fix to support Ruby 3.3 by replacing NULL with 0 in method rb_funcall | ||
* Include ruby/thread.h to implicitly declare rb_thread_call_without_gvl | ||
* Cast first argument of rb_thread_call_without_gvl to void * data type | ||
|
||
Mon Aug 21 2023 version 0.102.cv release <[email protected]> | ||
* Syntax changes to support Ruby 3.2 by using native "rb_str_new" instead of "rb_tainted_str_new" | ||
Remove tained usage (thanks @vhermecz) | ||
|
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
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