Bug #66766 | Can't make incremental backup with only-innodb-with-frm | ||
---|---|---|---|
Submitted: | 11 Sep 2012 12:19 | Modified: | 28 Feb 2013 16:13 |
Reporter: | T. M. | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Backup | Severity: | S2 (Serious) |
Version: | 3.8.1 | OS: | Any (MS Windows, Linux) |
Assigned to: | CPU Architecture: | Any |
[11 Sep 2012 12:19]
T. M.
[11 Sep 2012 18:46]
Sveta Smirnova
Thank you for the report. Verified as described: mysql> create table t1(f1 int) engine=innodb; Query OK, 0 rows affected (0.18 sec) mysql> insert into t1 values(1); Query OK, 1 row affected (0.06 sec) mysql> create view v1 select * from t1; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select * from t1' at line 1 mysql> create view v1 as select * from t1; Query OK, 0 rows affected (0.05 sec) [sveta@delly meb-trunk]$ ./bin/mysqlbackup --user=root --host=127.0.0.1 --port=13000 --backup-dir=/home/sveta/src/BACKUPDIR/bug66766 --only-innodb-with-frm backup MySQL Enterprise Backup version 3.8.0 [2012/08/07] Copyright (c) 2003, 2012, Oracle and/or its affiliates. All Rights Reserved. mysqlbackup: INFO: Starting with following command line ... ./bin/mysqlbackup --user=root --host=127.0.0.1 --port=13000 --backup-dir=/home/sveta/src/BACKUPDIR/bug66766 --only-innodb-with-frm backup ... 120911 21:42:58 mysqlbackup: INFO: Completing the copy of innodb files. 120911 21:42:58 mysqlbackup: INFO: Log copied, lsn 1598186. 120911 21:43:00 mysqlbackup: INFO: Opening backup source directory '/home/sveta/src/mysql-5.5/mysql-test/var/mysqld.1/data/' 120911 21:43:00 mysqlbackup: INFO: Starting to backup .frm files in the subdirectories of /home/sveta/src/mysql-5.5/mysql-test/var/mysqld.1/data/ 120911 21:43:00 mysqlbackup: INFO: Copying the database directory 'test' mysqlbackup: ERROR: Unable to read engine name from the frm file /home/sveta/src/mysql-5.5/mysql-test/var/mysqld.1/data/test/v1.frm No workaround: databases filters does not work.
[7 Feb 2013 12:20]
Jothir Ganesan
Fixed in 3.8.1
[28 Feb 2013 16:13]
Sanjay Manwani
The fix ensures that Backup operation does not fail when only-innodb-with-frm option is provided and database has views.