"Vladimir Volkov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >>> sqlite_update_hook() returnes rowID, but I didn't >>> find any API to use this value... > >> You just run a statement along the lines of > >> select * from dbName.tableName where rowid=? > >> You need to run this statement on the same connection the hook is >> installed on. > > Thanks. But I am experiensing some problems here. When I am using the > same connection (I store it as third parameter to callback > registering function > > 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 _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users