This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sqlite3: deprecated declarations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]