Merge lp:~ovais-tariq/percona-data-recovery-tool-for-innodb/bug1094478 into lp:percona-data-recovery-tool-for-innodb

Proposed by Ovais Tariq
Status: Merged
Merged at revision: 74
Proposed branch: lp:~ovais-tariq/percona-data-recovery-tool-for-innodb/bug1094478
Merge into: lp:percona-data-recovery-tool-for-innodb
Diff against target: 28 lines (+3/-1)
1 file modified
create_defs.pl (+3/-1)
To merge this branch: bzr merge lp:~ovais-tariq/percona-data-recovery-tool-for-innodb/bug1094478
Reviewer Review Type Date Requested Status
Aleksandr Kuzminsky Pending
Review via email: mp+141454@code.launchpad.net

Description of the change

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'create_defs.pl'
--- create_defs.pl 2012-08-03 12:10:30 +0000
+++ create_defs.pl 2012-12-29 14:51:22 +0000
@@ -16,6 +16,7 @@
16my $db_user = "root";16my $db_user = "root";
17my $db_pass = "";17my $db_pass = "";
18my $db_table = "";18my $db_table = "";
19my $db_socket = "/var/lib/mysql/mysql.sock";
19my $help = 0;20my $help = 0;
2021
21# Parse options22# Parse options
@@ -25,6 +26,7 @@
25 "user=s" => \$db_user,26 "user=s" => \$db_user,
26 "password=s" => \$db_pass,27 "password=s" => \$db_pass,
27 "table=s" => \$db_table,28 "table=s" => \$db_table,
29 "socket=s" => \$db_socket,
28 "help|?" => \$help30 "help|?" => \$help
29 );31 );
3032
@@ -33,7 +35,7 @@
33#----------------------------------------------------------------35#----------------------------------------------------------------
34# Connect to mysql36# Connect to mysql
3537
36my $dsn = "DBI:mysql:database=$db_name;host=$db_host;port=$db_port";38my $dsn = "DBI:mysql:database=$db_name;host=$db_host;port=$db_port;mysql_socket=$db_socket";
37my $dbh = DBI->connect($dsn, $db_user, $db_pass);39my $dbh = DBI->connect($dsn, $db_user, $db_pass);
3840
39Usage("Can't connect to mysql!") unless $dbh;41Usage("Can't connect to mysql!") unless $dbh;

Subscribers

People subscribed via source and target branches