[ZBX-4289] use of obsolete sqlite interface in the frontend Created: 2011 Oct 28  Updated: 2017 May 30  Resolved: 2011 Nov 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.8
Fix Version/s: 1.9.8 (beta)

Type: Incident report Priority: Minor
Reporter: Greg Stein Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: sqlite
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS 10.5, sqlite 3.7.8, php 5.3.8


Attachments: Text File zabbix.patch    

 Description   

The sqlite3_FOO() interfaces used by frontend/php/ are obsolete. There are a number of PHP/sqlite interfaces as detailed in this message:
http://lists.macosforge.org/pipermail/macports-users/2009-January/013658.html

The "php-sqlite3" package has been superseded by the SQLite3 class.

I've attached a patch which switches the frontend to the proper sqlite interface. This applies against the 1.8.8 sources.



 Comments   
Comment by Oleksii Zagorskyi [ 2011 Oct 29 ]

Maybe connected to ZBX-3468

Comment by Alexei Vladishev [ 2011 Nov 17 ]

We will not touch 1.8.x as it may introduce stability issues. Besides support of SQLite3 for server (not proxy!) and front-end side is kind of experimental feature.

In Zabbix 2.0 we already switched to the new SQLite3 interface. I think we can close it. Any objections?

Comment by Greg Stein [ 2011 Nov 17 ]

That makes good sense. No objections here!

Thanks.

Comment by richlv [ 2011 Nov 17 ]

thanks, closing then

Generated at Sat Apr 27 03:43:10 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.