22.08.2015, 16:43
It looks like you are using MySQL R38+, if so, why not simply use cache_get_field_content to fetch the string? It's kinda more easier to use (for me at least)
Код:
native cache_get_field_content(row, const field_name[], destination[], connectionHandle = 1, max_len = sizeof(destination));