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

Function setup_conversion_functions

sql/sql_prepare.cc:1152–1171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1150
1151
1152static bool setup_conversion_functions(Prepared_statement *stmt,
1153 uchar **data,
1154 bool bulk_protocol= 0)
1155{
1156 /* skip null bits */
1157 uchar *read_pos= *data;
1158 if (!bulk_protocol)
1159 read_pos+= (stmt->param_count+7) / 8;
1160
1161 DBUG_ENTER("setup_conversion_functions");
1162
1163 if (*read_pos++) //types supplied / first execute
1164 {
1165 *data= read_pos;
1166 bool res= set_conversion_functions(stmt, data);
1167 DBUG_RETURN(res);
1168 }
1169 *data= read_pos;
1170 DBUG_RETURN(0);
1171}
1172
1173#else
1174

Callers 1

set_parametersMethod · 0.85

Calls 1

set_conversion_functionsFunction · 0.85

Tested by

no test coverage detected