MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Server_side_cursor Class Reference

#include <sql_cursor.h>

Inheritance diagram for Server_side_cursor:
Collaboration diagram for Server_side_cursor:

Public Member Functions

 Server_side_cursor (MEM_ROOT *mem_root_arg, select_result *result_arg)
virtual bool is_open () const =0
virtual int open (JOIN *top_level_join)=0
virtual void fetch (ulong num_rows)=0
virtual void close ()=0

Static Public Member Functions

static void operator delete (void *ptr, size_t size)
- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

Protected Attributes

select_result * result

Detailed Description

Server_side_cursor – an interface for materialized implementation of cursors. All cursors are self-contained (created in their own memory root). For that reason they must be deleted only using a pointer to Server_side_cursor, not to its base class.

Definition at line 38 of file sql_cursor.h.

Member Data Documentation

select_result* Server_side_cursor::result
protected

Row destination used for fetch

Definition at line 42 of file sql_cursor.h.


The documentation for this class was generated from the following files: