This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sqlite3: deprecated declarations
- From: Jan Nijtmans <jan dot nijtmans at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Apr 2017 12:10:03 +0200
- Subject: Re: sqlite3: deprecated declarations
- Authentication-results: sourceware.org; auth=none
- References: <9cd05ef5-a204-7c38-2304-9cb3af364e40@cygwin.com> <CAO1jNwv1f5VJzqFuNaT3GR73as-XuyqDWx_yA3679LgUA9a2bA@mail.gmail.com> <da652f67-a3c5-4989-427e-6eaecddb5aa2@cygwin.com>
2017-04-21 9:57 GMT+02:00 Yaakov Selkowitz:
>>> Please enable deprecated declarations in sqlite3.h.
> Ping? This is still an issue with 3.16.2-1.
I now made this change in the local 3.19 code (3.18 is uploaded already),
so next build the deprecated functions will be back in the headers.
>> Still, I'm interested to know
>> which real-word code still uses it, so a bug-report can be sent
>> to them. All of those 6 functions where deprecated for a reason!
>>
>> SQLITE_DEPRECATED int sqlite3_aggregate_count(sqlite3_context*);
>
>
> PHP's pdo_sqlite uses this.
>
>> SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt*);
>
>
> qt*-webkit and webkitgtk use this.
>
>> SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt*,
>> sqlite3_stmt*);
>
>
> Python's sqlite3 extension uses this.
>
>> SQLITE_DEPRECATED int sqlite3_global_recover(void);
>> SQLITE_DEPRECATED void sqlite3_thread_cleanup(void);
>> SQLITE_DEPRECATED int
>> sqlite3_memory_alarm(void(*)(void*,sqlite3_int64,int),
>> void*,sqlite3_int64);
>
>
> I'm not aware of anything using these.
Thanks for this information, that's indeed what I was waiting for. For
example Python should be aware that the functions sqlite3_global_recover(),
sqlite3_thread_cleanup() and sqlite3_memory_alarm() in sqlite are
dummy functions doing nothing, any code using them is simply obsolete.
I'll see what I can do about this, reporting this upstream would be the least.
Thanks!
Jan Nijtmans
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple