darold / ora2pg

Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
http://www.ora2pg.com/
GNU General Public License v3.0
991 stars 342 forks source link

Typo: wrong database handle name in subroutine _count_source_rows #1610

Closed simonpane closed 1 year ago

simonpane commented 1 year ago

Subroutine _count_source_rows accepts the database handle hash and assigns it to a variable called $dbhsrc.

Yet the statement handle prepare and execute methods incorrectly reference the handle via $dbh.

This is a small typo: need to replace $dbh with $dbhsrc within the _count_source_rows subroutine to fix.

simonpane commented 1 year ago

Typo in PR - will re-submit with new PR.

simonpane commented 1 year ago

PR with fix is forthcoming.