Igor Tandetnik wrote:
> 
> 
>>
>>                 sqlite3_update_hook(db, Callback, db);
>>
>> and when trying to access to the db inside callback
>>
>>                 sqlite3_prepare((sqlite3*)data_arg_3, [...])
> 
> Show how Callback is declared. Did you really name its first parameter 
> data_arg_3?
> 
> Igor Tandetnik
> 
> 


void Callback( void* data_arg_3,
                           int operation,
                           char const * szDatabase,
                           char const * szTable,
                           sqlite_int64 rowID );

And what could be wrong with declaration of local variable name?
data_arg_3 because this is third argument to sqlite3_update_hook().
-- 
View this message in context: 
http://www.nabble.com/Trigger%27s-actions-and-callbacks-tp16418413p16467325.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to