Skip to content

Fix error 'tried to create Proc object without a block (ArgumentError)'#5

Merged
raj-sharan merged 1 commit into
cloudvolumes:masterfrom
raj-sharan:sharan-ruby-odbc-proc-argument-issue-fix
Aug 21, 2023
Merged

Fix error 'tried to create Proc object without a block (ArgumentError)'#5
raj-sharan merged 1 commit into
cloudvolumes:masterfrom
raj-sharan:sharan-ruby-odbc-proc-argument-issue-fix

Conversation

@raj-sharan
Copy link
Copy Markdown

proc.c (proc_new): promoted lambda/proc/Proc.new with no block in a method called with a block to a warning/error

@raj-sharan
Copy link
Copy Markdown
Author

raj-sharan commented Aug 21, 2023

test>ruby test.rb 'DSN' 'user' 'pwd'
Ruby-ODBC: Force Encoding ruby result strings to UTF-8
connect.............ok
create_table........ok
insert..............ok
select..............ok
update..............ok
drop_table..........ok
close...............ok

\test>ruby utf8\test.rb 'DSN' 'user' 'pwd'
connect.............ok
create_table........ok
insert..............ok
select..............ok
update..............ok
drop_table..........ok
close...............ok

@raj-sharan raj-sharan force-pushed the sharan-ruby-odbc-proc-argument-issue-fix branch from 3f37704 to 77040d1 Compare August 21, 2023 12:47
proc.c (proc_new): promoted lambda/proc/Proc.new with no block
in a method called with a block to a warning/error
@raj-sharan raj-sharan force-pushed the sharan-ruby-odbc-proc-argument-issue-fix branch from 77040d1 to 8ff517c Compare August 21, 2023 12:50
@sukeerthiadiga
Copy link
Copy Markdown

sukeerthiadiga commented Aug 21, 2023

Approved based on the passing tests.

@raj-sharan raj-sharan merged commit a613fa7 into cloudvolumes:master Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants