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

Fix for Issue #1610 #1614

Closed simonpane closed 1 year ago

simonpane commented 1 year ago

Fix $dbh typo in subroutine _count_source_rows as described in https://github.com/darold/ora2pg/issues/1610

Without fix, the following error will be returned:

Can't call method "prepare" on an undefined value at /usr/local/share/perl5/Ora2Pg.pm line 12116.

Typo fixes in this PR resolves issue.