16 #ifndef SQL_GET_DIAGNOSTICS_H
17 #define SQL_GET_DIAGNOSTICS_H
44 return SQLCOM_GET_DIAGNOSTICS;
113 template <
typename Diag_item,
typename Context>
114 bool evaluate(THD *thd, Diag_item *diag_item, Context ctx)
119 if (! (value= diag_item->get_value(thd, ctx)))
123 return diag_item->set_value(thd, &value);
278 Item *make_utf8_string_item(THD *thd,
const String *str);
300 : m_cond_number_expr(cond_number_expr), m_items(items)
311 Item *m_cond_number_expr;