@@ -29,7 +29,7 @@ func (database *Database) remoteMysqldumpCmdBuilder(additionalArgs []string, use
2929 }
3030
3131 // exclude
32- excludeArgs , includeArgs := database .mysqlTableFilter (& database .remoteConnection , "remote" );
32+ excludeArgs , includeArgs := database .mysqlTableFilter (& database .Connection , "remote" );
3333 if useFilter && len (excludeArgs ) > 0 {
3434 args = append (args , excludeArgs ... )
3535 }
@@ -46,7 +46,7 @@ func (database *Database) remoteMysqldumpCmdBuilder(additionalArgs []string, use
4646 cmd = append (cmd , shell .QuoteValues (args ... )... )
4747 cmd = append (cmd , "|" , "gzip" , "--stdout" )
4848
49- return database .remoteConnection .RawShellCommandBuilder (cmd ... )
49+ return database .Connection .RawShellCommandBuilder (cmd ... )
5050}
5151
5252func (database * Database ) remoteMysqlCmdBuilder (args ... string ) []interface {} {
@@ -72,7 +72,7 @@ func (database *Database) remoteMysqlCmdBuilder(args ...string) []interface{} {
7272 args = append (args , database .Schema )
7373 }
7474
75- return database .remoteConnection .CommandBuilder ("mysql" , args ... )
75+ return database .Connection .CommandBuilder ("mysql" , args ... )
7676}
7777
7878
@@ -101,5 +101,5 @@ func (database *Database) remoteMysqlCmdBuilderUncompress(args ...string) []inte
101101
102102 cmd := []string {"gunzip" , "--stdout" , "|" , "mysql" , strings .Join (shell .QuoteValues (args ... ), " " )}
103103
104- return database .remoteConnection .RawShellCommandBuilder (cmd ... )
104+ return database .Connection .RawShellCommandBuilder (cmd ... )
105105}
0 commit comments