|
1 |
| -/* Copyright (C) 2008-2009 Sun Microsystems, Inc |
| 1 | +/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. |
2 | 2 |
|
3 | 3 | This program is free software; you can redistribute it and/or modify
|
4 | 4 | it under the terms of the GNU General Public License as published by
|
|
10 | 10 | GNU General Public License for more details.
|
11 | 11 |
|
12 | 12 | You should have received a copy of the GNU General Public License
|
13 |
| - along with this program; if not, write to the Free Software |
14 |
| - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ |
| 13 | + along with this program; if not, write to the Free Software Foundation, |
| 14 | + 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */ |
15 | 15 |
|
16 | 16 | #ifndef PFS_ENGINE_TABLE_H
|
17 | 17 | #define PFS_ENGINE_TABLE_H
|
@@ -81,7 +81,7 @@ class PFS_engine_table
|
81 | 81 | @param fields Table fields
|
82 | 82 | */
|
83 | 83 | virtual int update_row_values(TABLE *table, const unsigned char *old_buf,
|
84 |
| - unsigned char *new_buf, Field **fields)= 0; |
| 84 | + unsigned char *new_buf, Field **fields); |
85 | 85 |
|
86 | 86 | /**
|
87 | 87 | Constructor.
|
@@ -151,27 +151,6 @@ struct PFS_engine_table_share
|
151 | 151 | bool m_checked;
|
152 | 152 | };
|
153 | 153 |
|
154 |
| -/** Adapter for read only PERFORMANCE_SCHEMA tables. */ |
155 |
| -class PFS_readonly_table : public PFS_engine_table |
156 |
| -{ |
157 |
| -protected: |
158 |
| - /** |
159 |
| - Constructor. |
160 |
| - @param share table share |
161 |
| - @param pos address of the m_pos position member |
162 |
| - */ |
163 |
| - PFS_readonly_table(const PFS_engine_table_share *share, void *pos) |
164 |
| - : PFS_engine_table(share, pos) |
165 |
| - {} |
166 |
| - |
167 |
| - ~PFS_readonly_table() |
168 |
| - {} |
169 |
| - |
170 |
| - virtual int update_row_values(TABLE *table, const unsigned char *old_buf, |
171 |
| - unsigned char *new_buf, Field **fields); |
172 |
| - |
173 |
| -}; |
174 |
| - |
175 | 154 | class PFS_readonly_acl : public ACL_internal_table_access
|
176 | 155 | {
|
177 | 156 | public:
|
|
0 commit comments