MySQL 26.7.0
Source Code Documentation
mysql_command_session_state_imp.h
Go to the documentation of this file.
1/* Copyright (c) 2026, Oracle and/or its affiliates.
2
3This program is free software; you can redistribute it and/or modify
4it under the terms of the GNU General Public License, version 2.0,
5as published by the Free Software Foundation.
6
7This program is designed to work with certain software (including
8but not limited to OpenSSL) that is licensed under separate terms,
9as designated in a particular file or component or in included license
10documentation. The authors of MySQL hereby grant you an additional
11permission to link the program and your derivative works with the
12separately licensed software that they have either included with
13the program or referenced in the documentation.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18GNU General Public License, version 2.0, for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef MYSQL_COMMAND_SESSION_STATE_IMP_H
25#define MYSQL_COMMAND_SESSION_STATE_IMP_H
26
29
31 public:
37 char *buffer, size_t buffer_length, size_t *length));
38 static DEFINE_METHOD(void, deinit,
40};
41
42#endif /* MYSQL_COMMAND_SESSION_STATE_IMP_H */
Definition: mysql_command_session_state_imp.h:30
static mysql_command_session_state_status init(MYSQL_H mysql_h, mysql_command_session_state_type type, MYSQL_COMMAND_SESSION_STATE_ITERATOR_H *iterator) noexcept
Definition: mysql_command_session_state_imp.cc:45
static mysql_command_session_state_status get_next(MYSQL_COMMAND_SESSION_STATE_ITERATOR_H iterator, char *buffer, size_t buffer_length, size_t *length) noexcept
Definition: mysql_command_session_state_imp.cc:95
static void deinit(MYSQL_COMMAND_SESSION_STATE_ITERATOR_H iterator) noexcept
Definition: mysql_command_session_state_imp.cc:132
struct MYSQL_COMMAND_SESSION_STATE_ITERATOR_H_imp * MYSQL_COMMAND_SESSION_STATE_ITERATOR_H
Provide iterator access to session-tracker data cached in the MYSQL handle used by command services.
Definition: mysql_command_session_state.h:55
struct MYSQL_H_imp * MYSQL_H
Definition: mysql_command_services.h:33
int mysql_command_session_state_type
Definition: mysql_command_session_state_bits.h:29
mysql_command_session_state_status
Status codes returned by mysql_command_session_state service methods.
Definition: mysql_command_session_state_bits.h:34
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
required string type
Definition: replication_group_member_actions.proto:34
Specifies macros to define Service Implementations.
#define DEFINE_METHOD(retval, name, args)
A macro to ensure method implementation has required properties, that is it does not throw exceptions...
Definition: service_implementation.h:79