[SRU] Invalid db.table name 'g2_AccessMap' at /usr/bin/mysqlhotcopy line 845
Bug #197606 reported by
Ralf Hildebrandt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Bug 162393 seems related, but didn't fix the problem.
This is:
ii mysql-server-5.0 5.0.51a-1ubuntu1 MySQL database server binaries
on hardy.
Command that lead to the error was:
/usr/bin/
Invalid db.table name 'g2_AccessMap' at /usr/bin/
/usr/bin/
Invalid db.table name 'columns_priv' at /usr/bin/
Related branches
description: | updated |
Changed in mysql-dfsg-5.0: | |
milestone: | none → ubuntu-8.04.1 |
To post a comment you must log in.
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