Perl - DBI table_info change?
altendew
andrew
Sun Mar 4 00:17:18 PST 2007
I was running my nightly mysqlhotcopy backup, when it gave me an error.
mysqlhotcopy has a line where it grabs all the tables from a certain
database.
for example:
@tables = $_dbh->tables();
now this is just suppost to return all the tables of the current database.
The proble is it returns the database name as a suffix to all the tables.
for example it used to display like this:
`table1`
`table2`
not it does this
`db`.`table1`
`db`.`table2`
Why would it change all of a sudden because now I get this error:
Invalid db.table name 'db.db`.`table1' at /usr/bin/mysqlhotcopy line 856.
--
View this message in context: http://www.nabble.com/Perl---DBI-table_info-change--tf3341694.html#a9293825
Sent from the Linux Users (linux-sxs.org) mailing list archive at Nabble.com.
More information about the Linux-users
mailing list