黃楨民 <huangchen...@gmail.com> wrote:
>   1. Will SQLite run sqlite3_open_v2 if I call sqlite3_open with 4
>   arguments ? I mean, Did SQLite pick up the interface depends on number of
>   parameter ?

Your compiler won't let you pass four arguments to a function delcared with 
two, whether this function is part of SQLite API or otherwise.

>   2. How to assign flag parameter in sqlite3_open_v2() with combination of
>   『SQLITE_OPEN_READWRITE<http://www.sqlite.org/c3ref/c_open_autoproxy.html>
>   
> 』and『SQLITE_OPEN_FULLMUTEX<http://www.sqlite.org/c3ref/c_open_autoproxy.html>
>   』?

You combine flags using | (a pipe or vertical bar character), a bitwise-OR 
operator.

>   is this 『sqlite3_open_v2(db_file_name,pointer,*0x00000002+0x00010000*,Name
>   of VFS module)』right ?

+ would work, too.
-- 
Igor Tandetnik

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

Reply via email to