>       wxString getDBVersion = "PRAGMA user_version = 2;";
>       rc = (sqlPrepareAdd)(newdb,getDBVersion.c_str(),getDBVersion.length(),
> &pStmt, &pzTail);
> 
>       if(rc != SQLITE_OK){
>               wxString msg;
>               msg.Printf(wxT("Can't process database: 
> %s"),(sqlErrMsgAdd)(newdb));
>               wxMessageBox(msg, wxT("File Open Failure"),
>               wxOK | wxICON_ERROR, NULL);
>               return false;
>       }
>       rc = (sqlFinalizeAdd)(pStmt);
>       if(rc != SQLITE_OK){
>               wxString msg;
>               msg.Printf(wxT("Unable to release database statement:
> %s"),(sqlErrMsgAdd)(newdb));
>               wxMessageBox(msg, wxT("File Open Failure"),
>               wxOK | wxICON_ERROR, NULL);
>               return false;
>       }

I don't see a Step() up there. Maybe it's never executing the pragma
to set the user-cookie.



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to