]> git.pld-linux.org Git - packages/mysql.git/blob - mysql-bug-20153.patch
- expire-logs-days sample
[packages/mysql.git] / mysql-bug-20153.patch
1 --- mysql-5.0.22/scripts/mysqlhotcopy.sh        2006-05-25 11:56:49.000000000 +0300
2 +++ /home/glen/mysqlhotcopy.fixed       2006-06-09 18:41:01.447594016 +0300
3 @@ -212,6 +212,7 @@
4  while ( my ($var,$value) = $sth_vars->fetchrow_array ) {
5      $mysqld_vars{ $var } = $value;
6  }
7 +$sth_vars->finish();
8  my $datadir = $mysqld_vars{'datadir'}
9      || die "datadir not in mysqld variables";
10      $datadir= $opt{chroot}.$datadir if ($opt{chroot});
11 @@ -255,6 +256,7 @@
12         next if $db_name =~ m/^information_schema$/i;
13         push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o );
14      }
15 +    $sth_dbs->finish();
16  }
17  
18  # --- get list of tables to hotcopy ---
This page took 0.032254 seconds and 3 git commands to generate.