mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Change the profile timer units back to nanoseconds and update the
sqlite3_profile() documentation. Ticket [c43940c49b74c70a69] FossilOrigin-Name: 7783b98a938b77d6b8e4e85b32b05452c47fbe4b
This commit is contained in:
@@ -398,7 +398,7 @@ static int sqlite3Step(Vdbe *p){
|
||||
if( rc!=SQLITE_ROW && db->xProfile && !db->init.busy && p->zSql ){
|
||||
sqlite3_int64 iNow;
|
||||
sqlite3OsCurrentTimeInt64(db->pVfs, &iNow);
|
||||
db->xProfile(db->pProfileArg, p->zSql, iNow - p->startTime);
|
||||
db->xProfile(db->pProfileArg, p->zSql, (iNow - p->startTime)*1000000);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user