[Bug 197606] Re: Invalid db.table name 'g2_AccessMap' at /usr/bin/mysqlhotcopy line 845

s.fussenegger stf+ubuntu-launchpad at molindo.at
Wed Apr 16 16:21:30 BST 2008


Same problem here

using hardy:
ii  libdbd-mysql-perl                          4.005-1                             A Perl5 database interface to the MySQL data
ii  libmysqlclient15off                        5.0.51a-3ubuntu5                    MySQL database client library
ii  mysql-client-5.0                           5.0.51a-3ubuntu5                    MySQL database client binaries
ii  mysql-common                               5.0.51a-3ubuntu5                    MySQL database common files
ii  mysql-server-5.0                           5.0.51a-3ubuntu5                    MySQL database server binaries


from mysqlhotcopy

sub quote_names {
  my ( $name ) = @_;
  # given a db.table name, add quotes

  my ($db, $table, @cruft) = split( /\./, $name );
  die "Invalid db.table name '$name'" if (@cruft || !defined $db || !defined $table );

  # Earlier versions of DBD return table name non-quoted,
  # such as DBD-2.1012 and the newer ones, such as DBD-2.9002
  # returns it quoted. Let's have a support for both.
  $table=~ s/\`//g;
  return "`$db`.`$table`";
}

so $name should be database.table rather than table only. maybe this was
caused by the fix for bug 162393

-- 
Invalid db.table name 'g2_AccessMap' at /usr/bin/mysqlhotcopy line 845
https://bugs.launchpad.net/bugs/197606
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list