Mismatch of parameter names for "count_tuples" option.
wilson496 opened this issue · 2 comments
wilson496 commented
The count_tuples option for this script is never checked. However, there is a check for an option named "check_tuples", which is never initialized.
This makes the script fail, since rather than checking the number of tuples it, it will attempt to grab the first tuple of an empty PG::Result list.
Any assistance is appreciated.
eheydrick commented
Whoops, that is an oversight. I pushed a fix in 32d71ed and will release it in a new version shortly.
eheydrick commented
Fix is in 1.0.1, now live on rubygems. Thanks for submitting the issue!