projects
/
mysql2postgres
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405003d
)
Replace undefined variable @file to @destfile
author
Maxim Dobriakov
<closer.main@gmail.com>
Mon, 1 Feb 2010 22:00:11 +0000
(06:00 +0800)
committer
Max Lapshin
<max@maxidoors.ru>
Tue, 2 Feb 2010 05:27:34 +0000
(13:27 +0800)
mysql2psql
patch
|
blob
|
history
diff --git
a/mysql2psql
b/mysql2psql
index
36a32de
..
faef45c
100755
(executable)
--- a/
mysql2psql
+++ b/
mysql2psql
@@
-675,7
+675,7
@@
reader = MysqlReader.new(@mysqlhost, @mysqluser, @mysqlpass, @mysqldb, @mysqlpor
if @destfile.nil?
writer = PostgresDbWriter.new(@pghost, @pguser, @pgpass, @pgdb, @pgport)
else
- writer = PostgresFileWriter.new(@file)
+ writer = PostgresFileWriter.new(@
dest
file)
end
converter = Converter.new(reader, writer, :only_tables => parse_tablenames(@tables))