You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling from Main
==========================
for(i=0;i<4;i++)
{
/* Store some records /
rc = unqlite_kv_store(pDb,"test",-1,"Hello World",11);
if( rc != UNQLITE_OK ){
/ Insertion fail, extract database error log and exit */
Fatal(pDb,0);
}
}
Prints Coming like this
=========================
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
The text was updated successfully, but these errors were encountered:
Facing this issue with unqlite_config if I unqlite_kv_store fails in a loop . Would like to know how to solve this issue .
Wrapper function for unqlite_config
=============================
static void Fatal(unqlite *pDb,const char *zMsg)
{
if( pDb ){
const char zErr = NULL;
int iLen = 0;
/ Extract the database error log */
unqlite_config(pDb,UNQLITE_CONFIG_ERR_LOG,&zErr,&iLen);
if( iLen > 0 ){
puts(zErr); / Always null termniated */
}else{
if( zMsg ){
puts(zMsg);
}
}
}
Calling from Main
==========================
for(i=0;i<4;i++)
{
/* Store some records /
rc = unqlite_kv_store(pDb,"test",-1,"Hello World",11);
if( rc != UNQLITE_OK ){
/ Insertion fail, extract database error log and exit */
Fatal(pDb,0);
}
}
Prints Coming like this
=========================
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
IO error while opening the target database file: /home/chandra/lsproj/unqlite-master/trials/tt.db
The text was updated successfully, but these errors were encountered: