| 3820 | /* Remove all pointers to data for blob fields so that original table doesn't try to free them */ |
| 3821 | |
| 3822 | static void unlink_blobs(TABLE *table) |
| 3823 | { |
| 3824 | for (Field **ptr=table->field ; *ptr ; ptr++) |
| 3825 | { |
| 3826 | if ((*ptr)->flags & BLOB_FLAG) |
| 3827 | ((Field_blob *) (*ptr))->clear_temporary(); |
| 3828 | } |
| 3829 | } |
| 3830 | |
| 3831 | /* Free blobs stored in current row */ |
| 3832 |
no test coverage detected