[sqlite] Delete an existing module

2016-05-03 Thread gwenn
Hello,
Is it possible to delete a module and the associated client data ?
I tried to pass a NULL pointer as the third parameter of
sqlite3_create_module_v2,
sqlite3_create_module_v2(
  db,
  zName,
  NULL,
  NULL,
  NULL
);
but I got a SQLITE_MISUSE error.
Thanks.


[sqlite] Delete an existing module

2016-05-03 Thread Richard Hipp
On 5/3/16, gwenn  wrote:
> Hello,
> Is it possible to delete a module and the associated client data ?
> I tried to pass a NULL pointer as the third parameter of
> sqlite3_create_module_v2,
> sqlite3_create_module_v2(
>   db,
>   zName,
>   NULL,
>   NULL,
>   NULL
> );
> but I got a SQLITE_MISUSE error.

No.  Once a virtual table module has been created, it cannot be
modified or destroyed, except by closing the database connection.

-- 
D. Richard Hipp
drh at sqlite.org