On Sat, Aug 16, 2014 at 3:01 PM, Tal Tabakman <tal.tabak...@gmail.com>
wrote:

> Hi Guys,
> we have an application that generates  database in sqlite format,
> at customer, we saw while profiling that the geteuid() call done in
> sqlite3.c is showing up rather high in our profiling report, any idea why ?
> what is this used for ?
>

It comes from here:
http://www.sqlite.org/src/artifact/bd7df3094a609?ln=314-325

The posixFchown() function is used to ensure that the ownership of newly
created journal files match the ownership of the database file if the
process is running as root.




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



-- 
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