#At file:///opt/local/work/mysql-6.0-3726/
2651 Konstantin Osipov 2008-05-27
Remove dead code.
modified:
sql/sql_view.cc
per-file comments:
sql/sql_view.cc
Remove dead code.
=== modified file 'sql/sql_view.cc'
--- a/sql/sql_view.cc 2008-05-27 12:15:44 +0000
+++ b/sql/sql_view.cc 2008-05-27 18:16:19 +0000
@@ -1626,17 +1626,6 @@
some_views_deleted= TRUE;
- /*
- For a view, there is only one table_share object which should never
- be used outside of LOCK_open
- */
- if ((share= get_cached_table_share(view->db, view->table_name)))
- {
- DBUG_ASSERT(share->ref_count == 0);
- share->ref_count++;
- share->version= 0;
- release_table_share(share);
- }
query_cache_invalidate3(thd, view, 0);
sp_cache_invalidate();
}
| Thread |
|---|
| • commit into mysql-6.0 branch (konstantin:2651) | Konstantin Osipov | 27 May |