The world's most popular open source database
#include <sp_head.h>
Inheritance diagram for sp_instr_set_trigger_field:


Public Member Functions | |
| sp_instr_set_trigger_field (uint ip, sp_pcontext *ctx, Item_trigger_field *trg_fld, Item *val, LEX *lex) | |
| virtual | ~sp_instr_set_trigger_field () |
| virtual int | execute (THD *thd, uint *nextp) |
| virtual int | exec_core (THD *thd, uint *nextp) |
| virtual void | print (String *str) |
Private Member Functions | |
| sp_instr_set_trigger_field (const sp_instr_set_trigger_field &) | |
| void | operator= (sp_instr_set_trigger_field &) |
Private Attributes | |
| Item_trigger_field * | trigger_field |
| Item * | value |
| sp_lex_keeper | m_lex_keeper |
Definition at line 666 of file sp_head.h.
| sp_instr_set_trigger_field::sp_instr_set_trigger_field | ( | const sp_instr_set_trigger_field & | ) | [private] |
| sp_instr_set_trigger_field::sp_instr_set_trigger_field | ( | uint | ip, | |
| sp_pcontext * | ctx, | |||
| Item_trigger_field * | trg_fld, | |||
| Item * | val, | |||
| LEX * | lex | |||
| ) | [inline] |
Definition at line 673 of file sp_head.h.
00676 : sp_instr(ip, ctx), 00677 trigger_field(trg_fld), 00678 value(val), m_lex_keeper(lex, TRUE) 00679 {}
| virtual sp_instr_set_trigger_field::~sp_instr_set_trigger_field | ( | ) | [inline, virtual] |
| int sp_instr_set_trigger_field::exec_core | ( | THD * | thd, | |
| uint * | nextp | |||
| ) | [virtual] |
Reimplemented from sp_instr.
Definition at line 2620 of file sp_head.cc.
References sp_instr::m_ip, Item_trigger_field::set_value(), trigger_field, and value.
02621 { 02622 const int res= (trigger_field->set_value(thd, &value) ? -1 : 0); 02623 *nextp = m_ip+1; 02624 return res; 02625 }
Here is the call graph for this function:

| int sp_instr_set_trigger_field::execute | ( | THD * | thd, | |
| uint * | nextp | |||
| ) | [virtual] |
Implements sp_instr.
Definition at line 2612 of file sp_head.cc.
References DBUG_ENTER, DBUG_RETURN, m_lex_keeper, sp_lex_keeper::reset_lex_and_exec_core(), and TRUE.
02613 { 02614 DBUG_ENTER("sp_instr_set_trigger_field::execute"); 02615 DBUG_RETURN(m_lex_keeper.reset_lex_and_exec_core(thd, nextp, TRUE, this)); 02616 }
Here is the call graph for this function:

| void sp_instr_set_trigger_field::operator= | ( | sp_instr_set_trigger_field & | ) | [private] |
| void sp_instr_set_trigger_field::print | ( | String * | str | ) | [virtual] |
Implements sp_instr.
Definition at line 2628 of file sp_head.cc.
References String::append(), Item::print(), Item_trigger_field::print(), STRING_WITH_LEN, trigger_field, and value.
02629 { 02630 str->append(STRING_WITH_LEN("set_trigger_field ")); 02631 trigger_field->print(str); 02632 str->append(STRING_WITH_LEN(":=")); 02633 value->print(str); 02634 }
Here is the call graph for this function:

Item* sp_instr_set_trigger_field::value [private] |
1.4.7

