MCPcopy Create free account
hub / github.com/MariaDB/server / open_from_dynamic_string

Method open_from_dynamic_string

sql/sql_prepare.cc:3025–3040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3023
3024
3025int sp_cursor::open_from_dynamic_string(THD *thd,
3026 uint set_placeholder_instr_first,
3027 uint set_placeholder_instr_count)
3028{
3029 DBUG_ENTER("sp_cursor::open_from_dynamic_string");
3030 if (!mysql_sql_stmt_execute_immediate(thd, true,
3031 &result, &server_side_cursor,
3032 InstrSlice(
3033 set_placeholder_instr_first,
3034 set_placeholder_instr_count)))
3035 {
3036 thd->open_cursors_counter_increment();
3037 DBUG_RETURN(0);
3038 }
3039 DBUG_RETURN(-1);
3040}
3041
3042
3043bool

Callers 1

exec_coreMethod · 0.80

Calls 3

InstrSliceClass · 0.85

Tested by

no test coverage detected