23 #ifndef SQL_GET_DIAGNOSTICS_H 24 #define SQL_GET_DIAGNOSTICS_H 118 template <
typename Diag_item,
typename Context>
123 if (!(
value = diag_item->get_value(thd, ctx)))
return true;
126 return diag_item->set_value(thd, &
value);
Representation of an SQL command.
Definition: sql_cmd.h:63
const string name("\ame\)
enum_sql_command
Definition: my_sqlcommand.h:45
Diagnostics_information * m_info
The information to be obtained.
Definition: sql_get_diagnostics.h:63
Representation of an SQL command.
Using this class is fraught with peril, and you need to be very careful when doing so...
Definition: sql_string.h:161
Definition: my_sqlcommand.h:179
#define DBUG_ASSERT(A)
Definition: my_dbug.h:197
virtual bool execute(THD *thd)
Execute this GET DIAGNOSTICS statement.
Definition: sql_get_diagnostics.cc:61
Definition: aggregate_check.h:523
Stores status of the currently executed statement.
Definition: sql_error.h:268
Representation of a SQL condition.
Definition: sql_error.h:53
bool area(const dd::Spatial_reference_system *srs, const Geometry *g, const char *func_name, double *result, bool *result_null) noexcept
Definition: area.cc:77
virtual enum_sql_command sql_command_code() const
Return the command code for this statement.
Definition: sql_get_diagnostics.h:55
Sql_cmd_get_diagnostics(Diagnostics_information *info)
Constructor, used to represent a GET DIAGNOSTICS statement.
Definition: sql_get_diagnostics.h:53
const string value("\alue\)
Sql_cmd_get_diagnostics represents a GET DIAGNOSTICS statement.
Definition: sql_get_diagnostics.h:46
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_class.h:778