Hi,
    Is there any difference between the following code snippets:
    
-------------------------------------------------------------------------
    ret = sqlite3_bind_zeroblob(stmt, 2, -1);
    if (ret != SQLITE_OK) {
        fprintf(stderr, "Unable to bind: %s", sqlite3_errmsg(db));
        goto out3;
    }
    
-------------------------------------------------------------------------
    ret = sqlite3_bind_blob(stmt, 2, blob, 0, SQLITE_TRANSIENT);
    if (ret != SQLITE_OK) {
        fprintf(stderr, "Unable to bind: %s", sqlite3_errmsg(db));
        goto out3;
    }
    
-------------------------------------------------------------------------

Thanks & Regards,
  chandan
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to