2629 Jorgen Loland 2008-06-04 [merge]
Trying to reattach commit message:
Bug#34758 "Server crashes if database with views backed up using CS driver"
Cleanup lex before consecutive calls to open_and_lock_tables for backup and restore. Fixed this bug and a similar, unreported bug in restore.
Detailed description:
- st_lex::cleanup_after_one_table_open() needs to be called between consecutive calls to open_and_lock_tables to prevent processing of previously opened views.
- added cleanup_after_one_table_open before call to open_and_lock_tables in do_backup.
- fixed a similar bug in restore by applying the same fix in do_restore
- includes a test case that fails without the patch
| Thread |
|---|
| • bzr push into mysql-6.0 branch (jorgen.loland:2629) Bug#34758 | Jorgen Loland | 4 Jun |