Bug 157305 - php5-pdo_sqlite requires php5-sqlite
Summary: php5-pdo_sqlite requires php5-sqlite
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 6
Hardware: All All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Petr Ostadal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 20:47 UTC by Cristian Rodríguez
Modified: 2006-03-13 11:40 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
tst case (153 bytes, text/plain)
2006-03-10 20:51 UTC, Cristian Rodríguez
Details
spec file patch (1.15 KB, patch)
2006-03-10 20:54 UTC, Cristian Rodríguez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Rodríguez 2006-03-10 20:47:40 UTC
Hi:

IIRC; if the user installs the PHP5 base package, and then select php-pdo_sqlite, user will get as a depenendecy php5-pdo package.
however, will end up with an incomplete feature set, he will not be able to use sqlite2 driver, since it's only available when php5-sqlite is loaded.

patch and test case attached.
Comment 1 Cristian Rodríguez 2006-03-10 20:51:17 UTC
Created attachment 72369 [details]
tst case

this test will raise an Exception with the follwing message :
Connection failed: could not find driver

if php4-sqlite is not loaded.

the expected result is : NO Exception
Comment 2 Cristian Rodríguez 2006-03-10 20:54:47 UTC
Created attachment 72372 [details]
spec file patch

this patch also solve some inconsistent configure options I had found.
Comment 3 Cristian Rodríguez 2006-03-10 20:59:58 UTC
ps: I used the src.rpm available from factory to create the spec file patch.
Comment 4 Petr Ostadal 2006-03-13 11:40:17 UTC
thnx fixed