/
package.xml
473 lines (471 loc) · 17.8 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE package SYSTEM "../../php4/pear/package.dtd">
<package version="1.0">
<name>MDB</name>
<summary>database abstraction layer</summary>
<description>
PEAR MDB is a merge of the PEAR DB and Metabase php database abstraction layers.
It provides a common API for all support RDBMS. The main difference to most other DB abstraction packages is that MDB goes much further to ensure portability. Among other things MDB features:
* An OO-style query API
* A DSN (data source name) or array format for specifying database servers
* Datatype abstraction and on demand datatype conversion
* Portable error codes
* Sequential and non sequential row fetching as well as bulk fetching
* Ordered array and associative array for the fetched rows
* Prepare/execute (bind) emulation
* Sequence emulation
* Replace emulation
* Limited Subselect emulation
* Row limit support
* Transactions support
* Large Object support
* Index/Unique support
* Module Framework to load advanced functionality on demand
* Table information interface
* RDBMS management methods (creating, dropping, altering)
* RDBMS independent xml based schema definition management
* Altering of a DB from a changed xml schema
* Reverse engineering of xml schemas from an existing DB (currently only MySQL)
* Full integration into the PEAR Framework
* Wrappers for the PEAR DB and Metabase APIs
* PHPDoc API documentation
Currently supported RDBMS:
MySQL
PostGreSQL
Oracle
Frontbase
Querysim
Interbase/Firebird
MSSQL
Other soon to follow.
</description>
<license>
BSD style
</license>
<maintainers>
<maintainer>
<user>lsmith</user>
<role>lead</role>
<name>Lukas Kahwe Smith</name>
<email>lsmith@php.net</email>
</maintainer>
<maintainer>
<user>dickmann</user>
<role>contributor</role>
<name>Christian Dickmann</name>
<email>chrisdicki@gmx.de</email>
</maintainer>
<maintainer>
<user>pgc</user>
<role>contributor</role>
<name>Paul Cooper</name>
<email>pgc@ucecom.com</email>
</maintainer>
<maintainer>
<user>ssb</user>
<role>contributor</role>
<name>Stig Sæther Bakken</name>
<email>stig@php.net</email>
</maintainer>
<maintainer>
<user>cox</user>
<role>contributor</role>
<name>Tomas V.V.Cox</name>
<email>cox@php.net</email>
</maintainer>
<maintainer>
<user>manuel</user>
<role>contributor</role>
<name>Manuel Lemos</name>
<email>mlemos@acm.org</email>
</maintainer>
<maintainer>
<user>fmk</user>
<role>contributor</role>
<name>Frank M. Kromann</name>
<email>frank@kromann.info</email>
</maintainer>
<maintainer>
<user>quipo</user>
<role>contributor</role>
<name>Lorenzo Alberton</name>
<email>l.alberton@quipo.it</email>
</maintainer>
</maintainers>
<release>
<version>1.1.4</version>
<state>stable</state>
<date>2004-01-05</date>
<notes>
This release marks the end of the feature additions to MDB 1.x. All further
feature additions will do into the MDB 2.x (aka MDB2) branch. MDB 1.x will
of course still be actively maintained and possibly new drivers may get added.
All:
- fixed issues with PHP5
- cosmetic fixes
MDB Class:
- added MDB::isConnection()
- fixed issues in MDB::singleton() if instances of MDB have been disconnected
test suite:
- minor improvements to the test suite
- fixed most CS issues in the test suite
- fixed bug in test suite (user_id was incorrectly set to type text instead of integer)
- added a test for MDB::singleton()
MDB_Common:
- fixed bug in support() that would result in always returning true
- fixed bug in getValue() when $type is empty
- fixed bug in getDSN() incorrect handling of port value
- fixed bug in currID() which would result in a fatal error
- fixed the common implementation of fetchInto()
- added MDB_FETCHMODE_ASSOC to the common implementation of fetchInto()
All drivers:
- backported several fixes from HEAD to each of the drivers
- fixed bug in extension detection in all drivers
- fixed bug 22328
- added notes at the top of the driver regarding driver specfic issues
- disconnect now unsets instead of overwriting with '' in $GLOBALS['_MDB_databases']
- added optimize option
- lowercase keys in associative results if optimize option is set to portability
MySQL driver:
- fixed bug in the transaction support detection in the manager class
Interbase driver:
- now passes all but the transaction test
- now also supports associative fetching
- added missing getTypeDeclaration() method
- fixed replace emulation
- fixed bug in interbase driver LOB handling
- fixed autofree in fetchInto()
Oracle driver:
- fixed autofree in fetchInto()
- fixed a typo in convertResult()
MSSQL driver:
- now passes all tests
- numerous bug fixes
FBSQL driver:
- numerous bug fixes to all parts of the driver (especially to the connection handling,
datatype abstraction, limit support and manager class)
PGSQL driver:
- fixed a bug in the error code mapping due to changes in recent PostGreSQL versions
</notes>
<filelist>
<file role="php" baseinstalldir="/">MDB.php</file>
<file role="doc">README</file>
<file role="doc">MAINTAINERS</file>
<file role="doc">TODO</file>
<dir name="MDB">
<file role="php">Common.php</file>
<file role="php">querysim.php</file>
<file role="php">mssql.php</file>
<file role="php">ibase.php</file>
<file role="php">oci8.php</file>
<file role="php">fbsql.php</file>
<file role="php">mysql.php</file>
<file role="php">pgsql.php</file>
<file role="php">Date.php</file>
<file role="php">Manager.php</file>
<file role="php">Parser.php</file>
<file role="php">metabase_wrapper.php</file>
<file role="php">peardb_wrapper.php</file>
<file role="php">reverse_engineer_xml_schema.php</file>
<dir name="Modules">
<file role="php">LOB.php</file>
<dir name="Manager">
<file role="php">Common.php</file>
<file role="php">mssql.php</file>
<file role="php">ibase.php</file>
<file role="php">oci8.php</file>
<file role="php">fbsql.php</file>
<file role="php">mysql.php</file>
<file role="php">pgsql.php</file>
</dir>
</dir>
</dir>
<dir name="doc">
<file role="doc">tutorial.html</file>
<file role="doc">datatypes.html</file>
<file role="doc">xml_schema_documentation.html</file>
<file role="doc">xml_schema.xsl</file>
<file role="doc">skeleton.php</file>
<file role="doc">Modules_Manager_skeleton.php</file>
</dir>
<dir name="tests">
<file role="test">README</file>
<file role="test">test.php</file>
<file role="test">clitest.php</file>
<file role="test">testchoose.php</file>
<file role="test">MDB_api_testcase.php</file>
<file role="test">MDB_manager_testcase.php</file>
<file role="test">MDB_usage_testcase.php</file>
<file role="test">MDB_bugs_testcase.php</file>
<file role="test">HTML_TestListener.php</file>
<file role="test">Console_TestListener.php</file>
<file role="test">tests.css</file>
<file role="test">testUtils.php</file>
<file role="test">test_setup.php.dist</file>
<file role="test">test.schema</file>
<file role="test">MDB_test.php</file>
<file role="test">MDB_pear_wrapper_test.php</file>
<file role="test">metapear_test_db.schema</file>
<file role="test">driver_test_config.php</file>
<file role="test">driver_test.php</file>
<file role="test">setup_test.php</file>
<file role="test">driver_test.schema</file>
<file role="test">lob_test.schema</file>
<dir name="templates">
<file role="test">results.tpl</file>
</dir>
</dir>
</filelist>
<deps>
<dep type="php" rel="ge" version="4.1.0" />
<dep type="pkg" rel="ge" version="1.0b1">PEAR</dep>
<dep type="pkg" rel="has">XML_Parser</dep>
</deps>
</release>
<changelog>
<release>
<version>1.1.3</version>
<state>stable</state>
<date>2003-06-13</date>
<notes>
- added MDB::singleton()
- added MDB_Common destructor
- fixed serious issue in fetch[One|Row|Col|All] which prevented result sets to be free-ed correctly
- improvements to the manager test suite
- added MSSQL driver (alpha)
- improved Frontbase driver
</notes>
</release>
<release>
<version>1.1.3-RC2</version>
<state>devel</state>
<date>2003-06-03</date>
<notes>
- added MDB::singleton()
- added MDB_Common destructor
- fixed serious issue in fetch[One|Row|Col|All] which prevented result sets to be free-ed correctly
- improvements to the manager test suite
</notes>
</release>
<release>
<version>1.1.3-RC1</version>
<state>devel</state>
<date>2003-06-01</date>
<notes>
- added MDB::singleton()
- added MDB_Common destructor
- fixed serious issue in fetch[One|Row|Col|All] which prevented result sets to be free-ed correctly
- improvements to the manager test suite
</notes>
</release>
<release>
<version>1.1.2</version>
<state>stable</state>
<date>2003-04-23</date>
<notes>
- This is mainly a bug fix release
- 4 new driver were added
Oracle (still Beta)
Frontbase (still Alpha)
Interbase/Firebird (still Alpha, due to missing features)
Querysim
- All get*Value() methods (excet get*lobValue() for now) will convert a php NULL into an SQL NULL
(resulting in API changes in the NULL handling of the get*Value() and replace() methods)
- REPLACE emulation now works more similar to how MySQLs REPLACE works
- Moved code from the Common constructor into MDB::connect()
- Moved code from the Driver constructor into the drivers connect method
- PostGreSQL reverse engineering partly implemented
- Made the MDB_Date classe behave more similar to PEAR::Date (especially in regards to daylight saving time)
</notes>
</release>
<release>
<version>1.1.1</version>
<state>stable</state>
<date>2002-11-26</date>
<notes>
Since the changelog for the 1.1.0 release was incomplete here follows the complete list of changes from the 1.0 release:
Minor bugfixes and PHPDoc enhancements
PEAR-ized directory structure and class names
Added PHPUnit test suite (browser and cli)
Manager.php does not load MDB.php anymore (include MDB.php instead and use MDB::loadFile())
MDB::connect() does not need to be modified anymore to add support for a new driver
API changes:
- MDB_common::loadExtension renamed to MDB_common::loadModule
- MDB::assertExtension was dropped in favor of PEAR::loadExtension
- MDB::loadFile was added to load additional files (from now on only MDB.php will be included directly)
</notes>
</release>
<release>
<version>1.1.0</version>
<state>devel</state>
<date>2002-11-24</date>
<notes>
PEAR-ized directory structure and class names
Added PHPUnit test suite (browser and cli)
Minor bugfixes and API changes
</notes>
</release>
<release>
<version>1.1.0pl1</version>
<state>devel</state>
<date>2002-11-25</date>
<notes>
Fixed issue of metapear_test_db.schema being in the wrong dir
</notes>
</release>
<release>
<version>1.0.1RC1</version>
<state>devel</state>
<date>2002-11-14</date>
<notes>
PEAR-ized directory structure and class names
Added PHPUnit test suite
Minor bugfixes and API changes
</notes>
</release>
<release>
<version>1.0</version>
<state>stable</state>
<date>2002-09-08</date>
<notes>
First stable release (repackaged RC4). Added Paul Cooper to the list of contributors. Please see README.txt for details.
</notes>
</release>
<release>
<version>1.0_RC4</version>
<state>devel</state>
<date>2002-09-07</date>
<notes>
Just minor bugs fixes and beautifications in several places. Added skeleton drivers to help driver authors.
</notes>
</release>
<release>
<version>1.0_RC3</version>
<state>devel</state>
<date>2002-09-05</date>
<notes>
this is release candidate 3 for MDB 1.0 featuring: major fixes and improvements to the MDB manager; bug fixes to the parser and date; both the mysql and the postgresql driver can now run query() without being connected to a specific database; added xsl that can render xml schema files to html; added initial version of a tutorial
</notes>
</release>
<release>
<version>1.0_RC2</version>
<state>devel</state>
<date>2002-08-21</date>
<notes>
this is release candidate 2 for MDB 1.0 featuring: major fixes and improvements to the MDB manager; totaly new XML_Parser based parser with much improved speed; moved date functions to a seperate class
</notes>
</release>
<release>
<version>1.0_RC1</version>
<state>devel</state>
<date>2002-08-11</date>
<notes>
this is the first release candidate for MDB 1.0; it contains mostly cosmetic changes but also improvements to reverse engineering of xml schemas from existing MySQL DBs.
</notes>
</release>
<release>
<version>0.9.11</version>
<state>devel</state>
<date>2002-08-05</date>
<notes>
made feature improvements and bug fixs to the manager; pgsql core driver now passes the driver test suite; lob support cleanup considerably
</notes>
</release>
<release>
<version>0.9.10</version>
<state>devel</state>
<date>2002-07-30</date>
<notes>
cleanups all over MDB; large improvements to the MDB manager
</notes>
</release>
<release>
<version>0.9.9</version>
<state>beta</state>
<date>2002-07-17</date>
<notes>
Further cleanups to the API;fixes to the pgsql driver; manager can now reverse engineer sequences into an xml schema
</notes>
</release>
<release>
<version>0.9.8</version>
<state>beta</state>
<date>2002-07-04</date>
<notes>
Further cleanups to the API (especially for sending the types of to be fetched data);added initial pgsql manager class; formatting and eol fixes
</notes>
</release>
<release>
<version>0.9.7.1</version>
<state>beta</state>
<date>2002-06-20</date>
<notes>
Bugfix release: fetchInto in the pgsql driver and baseFetchInto fixed to handle when now run numbers is passed to the method; mysql subselect emulation now returns NULL if no data is found;
</notes>
</release>
<release>
<version>0.9.7</version>
<state>beta</state>
<date>2002-06-20</date>
<notes>
PHPDoc have now been added to all methods in common.php; some API changes, mostly to the transaction methods; introduced a simple subselect emulation; added postgresql driver; fix fetchInto in the pear db wrapper
</notes>
</release>
<release>
<version>0.9.6</version>
<state>beta</state>
<date>2002-06-12</date>
<notes>
fixed a serious bug in parser.php that prevented tables from being initialized correctly; added several new methods to better match the PEAR DB feature set; added PHPDoc comments to most methods in common.php; more formating improvements
</notes>
</release>
<release>
<version>0.9.5</version>
<state>beta</state>
<date>2002-06-05</date>
<notes>
added autofree option; dropped setup() infavor of class contructors; minor changes to the API; improvements to the Metabase wrapper
</notes>
</release>
<release>
<release>
<version>0.9.4</version>
<state>beta</state>
<date>2002-05-31</date>
<notes>
Moved all DB management methods into a seperate class that is loaded on demand; MDB manager can now create an xml schema file from an existing DB;Improvements to the error handling, XMl schema manager and Metabase Wrapper as well as general formatting tweaks
</notes>
</release>
<release>
<version>0.9.3</version>
<state>beta</state>
<date>2002-05-17</date>
<notes>
MDB now uses the currect include path in all situations; improvements to the error handling (thx to Christian Dickmann) and the pear wrapper were made
</notes>
</release>
<release>
<version>0.9.2</version>
<state>beta</state>
<date>2002-05-16</date>
<notes>
major improvements to the core part of MDB (moved some static functions into the MDB class and improved the API); created a wrapper for the metabase xml schema manager;
</notes>
</release>
<version>0.9.1</version>
<state>beta</state>
<date>2002-05-03</date>
<notes>
fixed errors in package.xml
</notes>
</release>
<release>
<version>0.9</version>
<state>beta</state>
<date>2002-05-03</date>
<notes>
First packaged release of MDB
</notes>
</release>
</changelog>
</package>