MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
cursor_by_account.h
Go to the documentation of this file.
1
/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
11
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
15
16
#ifndef CURSOR_BY_ACCOUNT_H
17
#define CURSOR_BY_ACCOUNT_H
18
24
#include "
pfs_engine_table.h
"
25
#include "
pfs_account.h
"
26
#include "
table_helper.h
"
27
34
class
cursor_by_account
:
public
PFS_engine_table
35
{
36
public
:
37
virtual
int
rnd_next
();
38
virtual
int
rnd_pos
(
const
void
*pos);
39
virtual
void
reset_position
(
void
);
40
41
protected
:
42
cursor_by_account
(
const
PFS_engine_table_share
*share);
43
44
public
:
45
~
cursor_by_account
()
46
{}
47
48
protected
:
49
virtual
void
make_row(
PFS_account
*account)= 0;
50
51
private
:
53
PFS_simple_index
m_pos;
55
PFS_simple_index
m_next_pos;
56
};
57
59
#endif
storage
perfschema
cursor_by_account.h
Generated on Sat Nov 9 2013 01:28:38 for MySQL 5.6.14 Source Code Document by
1.8.1.2