>>>sqlite_transaction trans(db);
>>>sqlite3_prepare(db,"insert into image values('.rar',?);",-1,&stat,0);
>>>sqlite3_bind_blob(stat,1,ffile,filesize,NULL);
>>>sqlite3_step(stat);
>>>free(ffile);
>>>sqlite3_finalize(stat);
>>>trans.commit();
and what happens? what do you thing shou
sqlite_transaction trans(db);
sqlite3_prepare(db,"insert into image values('.rar',?);",-1,&stat,0);
sqlite3_bind_blob(stat,1,ffile,filesize,NULL);
sqlite3_step(stat);
free(ffile);
sqlite3_finalize(stat);
trans.commit();
___
sqlite-users mailing
2 matches
Mail list logo