| 1 |
lars |
1 |
a:22:{s:7:"attribs";a:6:{s:15:"packagerversion";s:5:"1.5.3";s:7:"version";s:3:"2.0";s:5:"xmlns";s:35:"http://pear.php.net/dtd/package-2.0";s:11:"xmlns:tasks";s:33:"http://pear.php.net/dtd/tasks-1.0";s:9:"xmlns:xsi";s:41:"http://www.w3.org/2001/XMLSchema-instance";s:18:"xsi:schemaLocation";s:147:"http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd";}s:4:"name";s:17:"MDB2_Driver_mysql";s:7:"channel";s:12:"pear.php.net";s:7:"summary";s:17:"mysql MDB2 driver";s:11:"description";s:30:"This is the MySQL MDB2 driver.";s:4:"lead";a:2:{i:0;a:4:{s:4:"name";s:17:"Lukas Kahwe Smith";s:4:"user";s:6:"lsmith";s:5:"email";s:20:"smith@pooteeweet.org";s:6:"active";s:2:"no";}i:1;a:4:{s:4:"name";s:16:"Lorenzo Alberton";s:4:"user";s:5:"quipo";s:5:"email";s:19:"l.alberton@quipo.it";s:6:"active";s:3:"yes";}}s:4:"date";s:10:"2007-05-03";s:4:"time";s:8:"21:05:23";s:7:"version";a:2:{s:7:"release";s:5:"1.4.1";s:3:"api";s:5:"1.4.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:7:"license";s:11:"BSD License";s:5:"notes";s:827:"- fixed bug #10378: incorrect query rewrite in setLimit() when using "FOR UPDATE"
|
|
|
2 |
or "LOCK IN SHARE MODE" (thanks to priyadi) or "INTO OUTFILE" or "INTO DUMPFILE"
|
|
|
3 |
- return length as "precision,scale" for NUMERIC and DECIMAL fields in mapNativeDatatype()
|
|
|
4 |
- in getTableIndexDefinition() and getTableConstraintDefinition() in the Reverse
|
|
|
5 |
module, also return the field position in the index/constraint
|
|
|
6 |
- fixed bug #10636: transactions broken in release 2.4.0 because of some properties
|
|
|
7 |
being reset (thanks to Conor Kerr)
|
|
|
8 |
- fixed bug #10807: connect() Method Incorrectly Caches Connections [fornax]
|
|
|
9 |
- fixed bug #10895: setLimit() does not work properly when a subquery uses LIMIT
|
|
|
10 |
|
|
|
11 |
note:
|
|
|
12 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
13 |
|
|
|
14 |
open todo items:
|
|
|
15 |
- use a trigger to emulate setting default now()";s:8:"contents";a:1:{s:3:"dir";a:2:{s:7:"attribs";a:2:{s:14:"baseinstalldir";s:1:"/";s:4:"name";s:1:"/";}s:4:"file";a:8:{i:0;a:2:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"8741e9a97b5bea58a885710679114dfe";s:4:"name";s:30:"MDB2/Driver/Datatype/mysql.php";s:4:"role";s:3:"php";}s:13:"tasks:replace";a:1:{s:7:"attribs";a:3:{s:4:"from";s:17:"@package_version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}}i:1;a:2:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"54729ab7af0409360ec0cccbf3e3d1e5";s:4:"name";s:30:"MDB2/Driver/Function/mysql.php";s:4:"role";s:3:"php";}s:13:"tasks:replace";a:1:{s:7:"attribs";a:3:{s:4:"from";s:17:"@package_version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}}i:2;a:2:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"b4b9d53ec84b60a80ee9863b026bebd9";s:4:"name";s:29:"MDB2/Driver/Manager/mysql.php";s:4:"role";s:3:"php";}s:13:"tasks:replace";a:1:{s:7:"attribs";a:3:{s:4:"from";s:17:"@package_version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}}i:3;a:2:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"4116bbeed5d544736b0ec39c8d8a83d5";s:4:"name";s:28:"MDB2/Driver/Native/mysql.php";s:4:"role";s:3:"php";}s:13:"tasks:replace";a:1:{s:7:"attribs";a:3:{s:4:"from";s:17:"@package_version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}}i:4;a:2:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"33df2e21f7c0e5d764adcf82b6294b38";s:4:"name";s:29:"MDB2/Driver/Reverse/mysql.php";s:4:"role";s:3:"php";}s:13:"tasks:replace";a:1:{s:7:"attribs";a:3:{s:4:"from";s:17:"@package_version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}}i:5;a:2:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"de036c07e722213b95a793e2d5db683c";s:4:"name";s:21:"MDB2/Driver/mysql.php";s:4:"role";s:3:"php";}s:13:"tasks:replace";a:1:{s:7:"attribs";a:3:{s:4:"from";s:17:"@package_version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}}i:6;a:1:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"1766c43f50ce08418b524a6047462e4d";s:4:"name";s:32:"tests/MDB2_nonstandard_mysql.php";s:4:"role";s:4:"test";}}i:7;a:1:{s:7:"attribs";a:4:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"8e2d1cf091467f02a2d365f7681cbedb";s:4:"name";s:17:"package_mysql.xml";s:4:"role";s:4:"data";}}}}}s:12:"dependencies";a:1:{s:8:"required";a:4:{s:3:"php";a:1:{s:3:"min";s:5:"4.3.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"1.4.0b1";}s:7:"package";a:3:{s:4:"name";s:4:"MDB2";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"2.4.1";}s:9:"extension";a:1:{s:4:"name";s:5:"mysql";}}}s:10:"phprelease";s:0:"";s:9:"changelog";a:1:{s:7:"release";a:18:{i:0;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.4.1";s:3:"api";s:5:"1.4.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2007-05-03";s:7:"license";s:11:"BSD License";s:5:"notes";s:827:"- fixed bug #10378: incorrect query rewrite in setLimit() when using "FOR UPDATE"
|
|
|
16 |
or "LOCK IN SHARE MODE" (thanks to priyadi) or "INTO OUTFILE" or "INTO DUMPFILE"
|
|
|
17 |
- return length as "precision,scale" for NUMERIC and DECIMAL fields in mapNativeDatatype()
|
|
|
18 |
- in getTableIndexDefinition() and getTableConstraintDefinition() in the Reverse
|
|
|
19 |
module, also return the field position in the index/constraint
|
|
|
20 |
- fixed bug #10636: transactions broken in release 2.4.0 because of some properties
|
|
|
21 |
being reset (thanks to Conor Kerr)
|
|
|
22 |
- fixed bug #10807: connect() Method Incorrectly Caches Connections [fornax]
|
|
|
23 |
- fixed bug #10895: setLimit() does not work properly when a subquery uses LIMIT
|
|
|
24 |
|
|
|
25 |
note:
|
|
|
26 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
27 |
|
|
|
28 |
open todo items:
|
|
|
29 |
- use a trigger to emulate setting default now()";}i:1;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.4.0";s:3:"api";s:5:"1.4.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2007-03-13";s:7:"license";s:11:"BSD License";s:5:"notes";s:1588:"- fixed bug #9283: missing support for BINARY/VARBINARY data types (thanks to Tom Hendrikx)
|
|
|
30 |
- propagate errors in getTableFieldDefinition() in the Reverse module
|
|
|
31 |
- implemented getTriggerDefinition() in the Reverse module (mysql > 5.0.2) [experimental]
|
|
|
32 |
- implemented listTableTriggers() in the Manager module (mysql > 5.0.2)
|
|
|
33 |
- implemented listFunctions() in the Manager module
|
|
|
34 |
- setCharset() now uses "SET NAMES" instead of "SET character_set_client"
|
|
|
35 |
- select the mysql database in listUsers() in the Manager module
|
|
|
36 |
- added error codes for MySQL 5 (patch by Adam Harvey)
|
|
|
37 |
- implemented guid() in the Function module [globally unique identifier]
|
|
|
38 |
- fixed bug #10033: beginTransaction() does not know server capabilities
|
|
|
39 |
- fixed bug #10057: createConstraint() returns an error when the definition is incomplete
|
|
|
40 |
- request #9451: you can set charset, collation, engine and comments in createSequence()
|
|
|
41 |
- implemented a fallback mechanism within getTableIndexDefinition() and
|
|
|
42 |
getTableConstraintDefinition() in the Reverse module to ignore the 'idxname_format'
|
|
|
43 |
option and use the index name as provided in case of failure before returning
|
|
|
44 |
an error
|
|
|
45 |
- fixed bug #10181: propagate error when an invalid type is passed to prepare()
|
|
|
46 |
- added a 'nativetype_map_callback' option to map native data declarations back to
|
|
|
47 |
custom data types (thanks to Andrew Hill).
|
|
|
48 |
- fixed bug #10239: execute() misinterprets MySQL's user defined variables
|
|
|
49 |
- phpdoc fixes
|
|
|
50 |
|
|
|
51 |
note:
|
|
|
52 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
53 |
|
|
|
54 |
open todo items:
|
|
|
55 |
- use a trigger to emulate setting default now()";}i:2;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.3.0";s:3:"api";s:5:"2.3.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-11-03";s:7:"license";s:11:"BSD License";s:5:"notes";s:450:"- added charset and collation support to field declaration
|
|
|
56 |
- fixed bug #9024: typo in error checking
|
|
|
57 |
- fix typos in error handling in a few places (bug #9024)
|
|
|
58 |
- do not skip id generation in nextId() when creating a sequence on demand
|
|
|
59 |
because this prevents lastInsertID() from working
|
|
|
60 |
- migrated to package.xml version 2
|
|
|
61 |
|
|
|
62 |
note:
|
|
|
63 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
64 |
- use a trigger to emulate setting default now()";}i:3;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.2.2";s:3:"api";s:5:"1.2.2";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-09-03";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:313:"- flip positions property array in prepared statement objects to make it
|
|
|
65 |
possible to optionally use the same named placeholder in multiple places
|
|
|
66 |
inside a single prepared statement
|
|
|
67 |
|
|
|
68 |
note:
|
|
|
69 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
70 |
- use a trigger to emulate setting default now()";}i:4;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.2.1";s:3:"api";s:5:"1.2.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-08-21";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:1261:"- fixed issue in tableInfo() that originates in getTableFieldDefinition() which
|
|
|
71 |
led to returning incorrect type values (Bug #8291)
|
|
|
72 |
- quote identifiers in the reverse module when 'quote_identifiers' is enabled (Bug #8309)
|
|
|
73 |
- use version_compare() to fix complex version comparisons (Bug #8355)
|
|
|
74 |
- do not use quote() in setCharset() since it is supposed to set the charset in
|
|
|
75 |
the connection that was passed to it
|
|
|
76 |
- return an error if a named placeholder name is used twice inside a single statement
|
|
|
77 |
- do not list empty contraints and indexes
|
|
|
78 |
- added support for 'primary' option in createTable()
|
|
|
79 |
- fixed notnull reverse engineering on mysql 4.x (Bug #8415)
|
|
|
80 |
- do not set a default if type is a LOB (Request #8074)
|
|
|
81 |
- if a default value is set, then we need to use VARCHAR instead of TEXT
|
|
|
82 |
- removed _verifyTableType() since it just adds overhead, is hard to do reliably
|
|
|
83 |
and you will get an error if the table type is not supported anyways
|
|
|
84 |
- fixed handling return values when disable_query is set in _doQuery() and _execute()
|
|
|
85 |
- only call RELEASE SAVEPOINT if the server version if 5.0.3 or higher
|
|
|
86 |
- increased MDB2 dependency too 2.2.1
|
|
|
87 |
|
|
|
88 |
note:
|
|
|
89 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
90 |
- use a trigger to emulate setting default now()";}i:5;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.2.0";s:3:"api";s:5:"1.2.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-07-23";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:1116:"- added ability to escape wildcard characters in escape() and quote()
|
|
|
91 |
- added setTransactionIsolation()
|
|
|
92 |
- added savepoint support to beginTransaction(), commit() and rollback()
|
|
|
93 |
- added debug() call at the end of a query/prepare/execute calling (Request #7933)
|
|
|
94 |
- added context array parameter to debug() and make use of it whereever sensible
|
|
|
95 |
- added optional method name parameter to raiseError() and use whereever possible
|
|
|
96 |
- added ability to escape wildcard characters in escape() and quote()
|
|
|
97 |
- added debug() call at the end of a query/prepare/execute calling (Request #7933)
|
|
|
98 |
- added 'nativetype' output to tableInfo() and getTableFieldDefinition()
|
|
|
99 |
- added 'mdb2type' output to getTableFieldDefinition()
|
|
|
100 |
- reworked tableInfo() to use a common implementation based on getTableFieldDefinition()
|
|
|
101 |
when a table name is passed (Bug #8124)
|
|
|
102 |
- fixed incorrect regex in mapNativeDatatype() (Bug #8256) (thx ioz at ionosfera dot com)
|
|
|
103 |
- use old dsn when rolling back open transactions in disconnect()
|
|
|
104 |
- mysql_insert_id() breaks if the prepared statement that was executed to
|
|
|
105 |
generate the ID is deallocated before (Bug #8051)";}i:6;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.1.0";s:3:"api";s:5:"1.1.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-06-15";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:1022:"- tweaked handling of free() for prepared statements
|
|
|
106 |
- return error if a prepared statement is attempted to be freed twice
|
|
|
107 |
- added setCharset()
|
|
|
108 |
- use setCharset() in connect()/_doConnect()
|
|
|
109 |
- set transaction enabled engine as default
|
|
|
110 |
- generalized quoteIdentifier() with a property
|
|
|
111 |
- use general implementation of quoteIdentifier() (Bug #7738)
|
|
|
112 |
- fixed warning in replace() if type is not set (Bug #7740)
|
|
|
113 |
- cosmetic performance tweak in getTableFieldDefinition()
|
|
|
114 |
- switched most array_key_exists() calls to !empty() to improve readability and performance
|
|
|
115 |
- fixed a few edge cases and potential warnings
|
|
|
116 |
- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback
|
|
|
117 |
- pass limit and offset to the result object constructor in _execute() for read statements
|
|
|
118 |
- check if result/connection has not yet been freed/dicsonnected before
|
|
|
119 |
attempting to free a result set(Bug #7790)
|
|
|
120 |
- revert change that would prefer 'clob' over 'text' for TEXT fields
|
|
|
121 |
(this was breaking runtime instrospection)";}i:7;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.3";s:3:"api";s:5:"1.0.3";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-05-22";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:244:"- fixed unsigned handling and minor tweaks to type mapping in mapNativeDatatype()
|
|
|
122 |
- use emulated prepared statements on mysql 4.0 or lower
|
|
|
123 |
- properly quote query to prepare
|
|
|
124 |
- added "emulate_prepared" option to force prepared statement emulation";}i:8;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.2";s:3:"api";s:5:"1.0.2";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-05-14";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:721:"- optimized listTables() and listViews()
|
|
|
125 |
- optimized show related queries
|
|
|
126 |
- explicitly set is_manip parameter to false for transaction debug calls
|
|
|
127 |
- silently change name of primary key contraints to PRIMARY
|
|
|
128 |
- added ability to hint that a constraint is a primary key in dropConstraint()
|
|
|
129 |
- typo fixes in phpdoc (thx Stoyan)
|
|
|
130 |
- added support for fixed and variable types for 'text' in declarations,
|
|
|
131 |
as well as in reverse engineering (Request #1523)
|
|
|
132 |
- made _doQuery() return a reference
|
|
|
133 |
- added userinfo's to all raiseError calls that previously had none
|
|
|
134 |
- use native prepared queries of mysql 4.1 or higher
|
|
|
135 |
- added 'prepared_statements' supported meta data setting
|
|
|
136 |
- added missing supported parameter to prepare() signature";}i:9;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.1";s:3:"api";s:5:"1.0.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-04-16";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:621:"- handle qualified table names in tableInfo()
|
|
|
137 |
- aligned _modifyQuery() signature and phpdoc
|
|
|
138 |
- added support for tabe options in createTable() (bug ##7079)
|
|
|
139 |
- added optional database parameter to listTables() and listSequences()
|
|
|
140 |
- added 'result_introspection' supported metadata support
|
|
|
141 |
- properly quote table names in tableInfo() (related to bug #6573)
|
|
|
142 |
- use connected_server_info in getServerVersion() as a cache cache
|
|
|
143 |
- use parent::disconnect() in disconnect()
|
|
|
144 |
- added support for length in integer reverse engineering
|
|
|
145 |
- some fixes regarding boolean reverse engineering
|
|
|
146 |
- added listViews() and hide views in listTables()";}i:10;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.0";s:3:"api";s:5:"1.0.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2006-02-09";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:79:"- handle null as resource when disable_query option is enabled in result object";}i:11;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.2.4";s:3:"api";s:5:"0.2.4";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2006-02-05";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:442:"- added support for length in integer and decimal columns
|
|
|
147 |
- removed ugly hack for quote parameter in quote() since it was insufficient
|
|
|
148 |
(escaping also needs to be prevented)
|
|
|
149 |
- now using TINYINT(1) by default instead of CHAR(1) for the boolean datatype (BC BREAK!)
|
|
|
150 |
- typo fix in error message in createTable()
|
|
|
151 |
- improved parsing in getServerInfo() (bug #6550)
|
|
|
152 |
- fixed subselect emulation
|
|
|
153 |
- support an arbitrary number of arguments in concat()";}i:12;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.2.3";s:3:"api";s:5:"0.2.3";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2006-01-13";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:688:"- explicitly pass if the module is phptype specific in all loadModule calls (bug #6226)
|
|
|
154 |
- properly handle PRIMARY keys in listTableConstraints()
|
|
|
155 |
- apply _isIndexName() on non primary keys in getTableConstraintDefinition()
|
|
|
156 |
- fixed signature of quoteIdentifier() to make second param optional
|
|
|
157 |
- fixed signature of executeStoredProc()
|
|
|
158 |
- typo fixes in error handling of nextResult() and numRows() calls
|
|
|
159 |
- _fixIndexName() now just attempts to remove possible formatting
|
|
|
160 |
- renamed _isSequenceName() to _fixSequenceName()
|
|
|
161 |
- _fixSequenceName() now just attempts to remove possible formatting, and only
|
|
|
162 |
returns a boolean if no formatting was applied when the new "check" parameter is set to true";}i:13;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.2.2";s:3:"api";s:5:"0.2.2";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-12-30";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:36:"- fixed typo in sub select detection";}i:14;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.2.1";s:3:"api";s:5:"0.2.1";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-12-28";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:45:"- proper quote new table name in alterTable()";}i:15;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.2.0";s:3:"api";s:5:"0.2.0";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-12-21";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:1862:"- do not fix case in listUsers()
|
|
|
163 |
- unified case fixing in the list*() methods
|
|
|
164 |
- fixed change and rename in alterTable()
|
|
|
165 |
- primary key must be called primary
|
|
|
166 |
- use getConnection() to access connection property
|
|
|
167 |
- split index and constraint handling
|
|
|
168 |
- quote identifiers where possible inside the manager methods depending on
|
|
|
169 |
the new 'quote_identifier' option (defaults to off)
|
|
|
170 |
- refactored get*Declaration() methods to use getTypeDeclaration()
|
|
|
171 |
- setting in_transaction to false on disconnect
|
|
|
172 |
- hide constraints from indexes and vice versa in the list methods
|
|
|
173 |
- added new Function modules to handle difference in SQL functions
|
|
|
174 |
- force rollback() with open transactions on disconnect
|
|
|
175 |
- fixed table renaming
|
|
|
176 |
- escape floats to make sure they do not contain evil characters (bug #5608)
|
|
|
177 |
- support column length in create index (mysql only feature, but a nice touch,
|
|
|
178 |
emulating it with substring is not feasible though)
|
|
|
179 |
- ensure that there is a connection in the escape() method
|
|
|
180 |
- split off manipulation queries into exec() method from the query() method *BC BREAK*
|
|
|
181 |
- only if result_types is set to false in prepare() method the query will be
|
|
|
182 |
handled as a DML statement *BC BREAK*
|
|
|
183 |
- use a proper default value if a field is set to not null in _getDeclaration*() (bug #5930)
|
|
|
184 |
- added ability to determine unsigned in mapNativeDatatype()
|
|
|
185 |
(only really implemented in the mysql(i) drivers) (bug #6054)
|
|
|
186 |
- use MDB2_ERROR_NOT_FOUND in getTableConstraintDefinition() and getTableIndexDefinition() (bug #6055)
|
|
|
187 |
- Sync lastInsertID with the mysqli implementation
|
|
|
188 |
- use lastInsertID() method in nextID()
|
|
|
189 |
- added getServerVersion() and use it to determine sub select support
|
|
|
190 |
- unified array structure in mapNativeDatatype() *BC BREAK*
|
|
|
191 |
- added 'mdbtype' to tableInfo() output that is generated from mapNativeDatatype()
|
|
|
192 |
- changed 'len' to 'length' in tableInfo() output *BC BREAK*";}i:16;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.1.1";s:3:"api";s:5:"0.1.1";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-10-16";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:1877:"Warning: this release features numerous BC breaks!
|
|
|
193 |
|
|
|
194 |
There have been considerable improvements to the datatype, manager and reverse
|
|
|
195 |
modules. Furthermore preliminary support for auto increment and primary keys
|
|
|
196 |
has been added. Please note that making a field auto increment implies a single
|
|
|
197 |
column primary key on this field.
|
|
|
198 |
|
|
|
199 |
- increased php dependency to 4.3.0 due to the usage of the streams API since beta5
|
|
|
200 |
- ensure that instance is connected before using connection property in tableInfo()
|
|
|
201 |
- added support for auto increment and primary key in schema.
|
|
|
202 |
- alterTable now needs the full definition to work (use getTableFieldDefinition
|
|
|
203 |
from Reverse module if you do not have a definition at hand) this eliminates the need
|
|
|
204 |
of the declaration part in the alterTable array.
|
|
|
205 |
- ensure that instance is connected before using connection property in tableInfo()
|
|
|
206 |
- removed support for dummy_primary_key
|
|
|
207 |
- fix PHP4.4 breakage
|
|
|
208 |
- moved getInsertID() into core as lastInsertID()
|
|
|
209 |
- use !empty() instead of isset() in fetchRow to determine if result cols were bound or result types were set
|
|
|
210 |
- moved all private fetch mode fix methods into _fixResultArrayValues() for performance reasons
|
|
|
211 |
- renamed MDB2_PORTABILITY_LOWERCASE to MDB2_PORTABILITY_FIX_CASE and use 'field_case' option to determine if to upper- or lowercase (CASE_LOWER/CASE_UPPER)
|
|
|
212 |
- count() -> !empty() where possible
|
|
|
213 |
- use array_map() instead of array_flip(array_change_key_case(array_flip())) to fix case of array values
|
|
|
214 |
- use array_key_exists() instead of isset() where possible
|
|
|
215 |
- changed structure of field add/remove/change in alterTable() to match MDB2_Schema
|
|
|
216 |
- removed subSelect() implementation (now in already included in common)
|
|
|
217 |
- return 0 for manipulation queries when disable_query is enabled
|
|
|
218 |
- tweaked handling of notnull and default in field reverse engineering
|
|
|
219 |
- tweaked getTableFieldDefinition() in reverse module";}i:17;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.1.0";s:3:"api";s:5:"0.1.0";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-04-29";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:22:"http://www.example.com";}s:8:"_content";s:11:"BSD License";}s:5:"notes";s:413:"first unbundled release from MDB2 core
|
|
|
220 |
|
|
|
221 |
- fixed new_link support (bug #4308)
|
|
|
222 |
- dont just check for isset() for boolean values in order to support
|
|
|
223 |
setting them false as well (bug #4373)
|
|
|
224 |
- ensure SQL injection protection in all _quote() methods (was missing in
|
|
|
225 |
some decimal, float, time, date and timestamp implementations)
|
|
|
226 |
- dont inherite from the mysqli driver anymore to prevent indirect dependency on mysqli";}}}s:8:"filelist";a:8:{s:30:"MDB2/Driver/Datatype/mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"8741e9a97b5bea58a885710679114dfe";s:4:"name";s:30:"MDB2/Driver/Datatype/mysql.php";s:4:"role";s:3:"php";s:12:"installed_as";s:45:"/usr/share/php/MDB2/Driver/Datatype/mysql.php";}s:30:"MDB2/Driver/Function/mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"54729ab7af0409360ec0cccbf3e3d1e5";s:4:"name";s:30:"MDB2/Driver/Function/mysql.php";s:4:"role";s:3:"php";s:12:"installed_as";s:45:"/usr/share/php/MDB2/Driver/Function/mysql.php";}s:29:"MDB2/Driver/Manager/mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"b4b9d53ec84b60a80ee9863b026bebd9";s:4:"name";s:29:"MDB2/Driver/Manager/mysql.php";s:4:"role";s:3:"php";s:12:"installed_as";s:44:"/usr/share/php/MDB2/Driver/Manager/mysql.php";}s:28:"MDB2/Driver/Native/mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"4116bbeed5d544736b0ec39c8d8a83d5";s:4:"name";s:28:"MDB2/Driver/Native/mysql.php";s:4:"role";s:3:"php";s:12:"installed_as";s:43:"/usr/share/php/MDB2/Driver/Native/mysql.php";}s:29:"MDB2/Driver/Reverse/mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"33df2e21f7c0e5d764adcf82b6294b38";s:4:"name";s:29:"MDB2/Driver/Reverse/mysql.php";s:4:"role";s:3:"php";s:12:"installed_as";s:44:"/usr/share/php/MDB2/Driver/Reverse/mysql.php";}s:21:"MDB2/Driver/mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"de036c07e722213b95a793e2d5db683c";s:4:"name";s:21:"MDB2/Driver/mysql.php";s:4:"role";s:3:"php";s:12:"installed_as";s:36:"/usr/share/php/MDB2/Driver/mysql.php";}s:32:"tests/MDB2_nonstandard_mysql.php";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"1766c43f50ce08418b524a6047462e4d";s:4:"name";s:32:"tests/MDB2_nonstandard_mysql.php";s:4:"role";s:4:"test";s:12:"installed_as";s:71:"/usr/share/php/tests/MDB2_Driver_mysql/tests/MDB2_nonstandard_mysql.php";}s:17:"package_mysql.xml";a:5:{s:14:"baseinstalldir";s:1:"/";s:6:"md5sum";s:32:"8e2d1cf091467f02a2d365f7681cbedb";s:4:"name";s:17:"package_mysql.xml";s:4:"role";s:4:"data";s:12:"installed_as";s:49:"/var/www/pear/MDB2_Driver_mysql/package_mysql.xml";}}s:12:"_lastversion";s:5:"1.4.0";s:7:"dirtree";a:9:{s:35:"/usr/share/php/MDB2/Driver/Datatype";b:1;s:26:"/usr/share/php/MDB2/Driver";b:1;s:19:"/usr/share/php/MDB2";b:1;s:35:"/usr/share/php/MDB2/Driver/Function";b:1;s:34:"/usr/share/php/MDB2/Driver/Manager";b:1;s:33:"/usr/share/php/MDB2/Driver/Native";b:1;s:34:"/usr/share/php/MDB2/Driver/Reverse";b:1;s:44:"/usr/share/php/tests/MDB2_Driver_mysql/tests";b:1;s:31:"/var/www/pear/MDB2_Driver_mysql";b:1;}s:3:"old";a:7:{s:7:"version";s:5:"1.4.1";s:12:"release_date";s:10:"2007-05-03";s:13:"release_state";s:6:"stable";s:15:"release_license";s:11:"BSD License";s:13:"release_notes";s:827:"- fixed bug #10378: incorrect query rewrite in setLimit() when using "FOR UPDATE"
|
|
|
227 |
or "LOCK IN SHARE MODE" (thanks to priyadi) or "INTO OUTFILE" or "INTO DUMPFILE"
|
|
|
228 |
- return length as "precision,scale" for NUMERIC and DECIMAL fields in mapNativeDatatype()
|
|
|
229 |
- in getTableIndexDefinition() and getTableConstraintDefinition() in the Reverse
|
|
|
230 |
module, also return the field position in the index/constraint
|
|
|
231 |
- fixed bug #10636: transactions broken in release 2.4.0 because of some properties
|
|
|
232 |
being reset (thanks to Conor Kerr)
|
|
|
233 |
- fixed bug #10807: connect() Method Incorrectly Caches Connections [fornax]
|
|
|
234 |
- fixed bug #10895: setLimit() does not work properly when a subquery uses LIMIT
|
|
|
235 |
|
|
|
236 |
note:
|
|
|
237 |
- the multi_query test failes because this is not supported by ext/mysql
|
|
|
238 |
|
|
|
239 |
open todo items:
|
|
|
240 |
- use a trigger to emulate setting default now()";s:12:"release_deps";a:4:{i:0;a:4:{s:4:"type";s:3:"php";s:3:"rel";s:2:"ge";s:7:"version";s:5:"4.3.0";s:8:"optional";s:2:"no";}i:1;a:6:{s:4:"type";s:3:"pkg";s:7:"channel";s:12:"pear.php.net";s:4:"name";s:4:"PEAR";s:3:"rel";s:2:"ge";s:7:"version";s:7:"1.4.0b1";s:8:"optional";s:2:"no";}i:2;a:6:{s:4:"type";s:3:"pkg";s:7:"channel";s:12:"pear.php.net";s:4:"name";s:4:"MDB2";s:3:"rel";s:2:"ge";s:7:"version";s:5:"2.4.1";s:8:"optional";s:2:"no";}i:3;a:4:{s:4:"type";s:3:"ext";s:4:"name";s:5:"mysql";s:3:"rel";s:3:"has";s:8:"optional";s:2:"no";}}s:11:"maintainers";a:2:{i:0;a:5:{s:4:"name";s:17:"Lukas Kahwe Smith";s:5:"email";s:20:"smith@pooteeweet.org";s:6:"active";s:2:"no";s:6:"handle";s:6:"lsmith";s:4:"role";s:4:"lead";}i:1;a:5:{s:4:"name";s:16:"Lorenzo Alberton";s:5:"email";s:19:"l.alberton@quipo.it";s:6:"active";s:3:"yes";s:6:"handle";s:5:"quipo";s:4:"role";s:4:"lead";}}}s:10:"xsdversion";s:3:"2.0";s:13:"_lastmodified";i:1180420346;}
|