On Thu, Oct 17, 2013 at 8:31 AM, Mike Clagett <mike.clag...@mathworks.com>wrote:

> Hi --
>
> Okay.  It looks like  sqlite3_win32_mbcs_to_utf8() is being called from a
> number of functions, including sqlite3_value_blob, sqlite3_randomness,
> sqlite3_extended_errcode, and sqlite3_os_init.    From a spot check of the
> execution trace it looks like sqlite3_os_init is probably the most frequent
> caller.  But tons and tons of calls to this function are being made, often
> within the scope of a single prepared statement execution.
>
> Here's a pretty typical sample piece of the execution trace:
>
>
>           sqldb::sqlite::Sqlite3PreparedStatement::execute
>
>            sqlite3_step
>
>             sqlite3_declare_vtab
>
>              sqlite3_declare_vtab
>

This trace looks wrong.  sqlite3_step() shouldn't ever be calling
sqlite3_declare_vtab().  And sqlite3_declare_vtab() is not recursive.
Perhaps your debugger is only seeing exported symbols and is identifying
internal routines using the nearest exported symbol?

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

Reply via email to