Returns TRUE on success.
Returns FALSE on failure. Use pbms_errno() and pbms_error() to retrieve error details.
pbms = pbms_connect("localhost", 8080, "aDatabase"); // Fetch the BLOB back, 'name' is a LONGBLOB column. mysql_query(mysql, "select name from bobtest where id = 1"); results = mysql_store_result(mysql); record = mysql_fetch_row(result); /* Get the BLOB size so we can allocate a buffer for it. */ pbms_get_blob_size(pbms, record[0], &size); buffer = malloc(size); pbms_get_data(pbms, record[0], buffer, size)); pbms_close(pbms);