| 1150 | |
| 1151 | |
| 1152 | static 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 |
no test coverage detected