summaryrefslogtreecommitdiff
path: root/databases/pear-MDB2_Driver_mysql
AgeCommit message (Collapse)AuthorFilesLines
2013-03-16Update pear-MDB2_Driver_mysql to 1.5.0b4 and add LICENSE.taca3-12/+13
Changelog: - Make varchar_max_length property public, Bug #19582. - Revert 327099 by afz, caused "Notice: Undefined index: charset on line 1003" - PEAR::isError() -> MDB2::isError(), Bug #19491. - PEAR::loadExtension() -> extension_loaded(), Bug #19583. - max value for VARCHAR is 65535 but if used multi-bytes (UTF8) so it is 21844, because UTF8 string takes 3bytes - Fix Bug #19262. Updates conditional stagements to use logical operators to include MDB2_FETCHMODE_OBJECT where appropriate. Was broken in r321197. - Have truncateTable() return MDB2_OK on success, as documented (bug 19201) - Have alterTable() return MDB2_OK on success, as documented (bug 19200) - Have dropIndex() return MDB2_OK on success, as documented (bug 19198) - Have vacuum() return MDB2_OK on success, as documented (bug 19196) - Have createIndex() return MDB2_OK on success, as documented (bug 19195) - Have dropConstraint() return MDB2_OK on success, as documented (bug 19194) - Have dropSequence() return MDB2_OK on success, as documented (bug 19191). - Make setOption('result_wrap_class') actually useful by changing the default value of $result_wrap_class parameters from false to true. - Obtain error information in _doQuery() because standaloneQuery() throws off $this->connection. - FETCHMODE constants are NOT bitwise. - Make $sql_comments public (was before, used in tests, no real harm). - Property visibility - boolean data type - fixed bug #17984: Error is not reported when mysqli_stmt_bind_param() fails [dennylin93] - fixed bug #18057: Result of getDeclaration() can have invalid syntax [hschletz] - request #18068: mapNativeDatatype() returns decimal places also for 'float' mdb2type - fixed bug #18203: Type introspection breaks with associative arrays if names are identical (patch by Peter Bex) - fixed bug #17892: removed debug message [pdt256] - fixed bug #18057: Result of getDeclaration() can have invalid syntax [hschletz] - request #18068: mapNativeDatatype() returns decimal places also for 'float' mdb2type open todo items: - use a trigger to emulate setting default now()
2012-10-02Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2010-12-22Oops, really update to MDB2_Driver_mysql-1.5.0b3.taca3-11/+11
1.5.0b3 2010-08-29 12:29 UTC Changelog: - fixed bug #15650: mysqli function used in setCharset() - fixed bug #16003: incorrect check for error after mysql_store_result - fixed bug #16147: first prepared statement is emulated when using factory with mysql - fixed bug #16669: hostspec is ignored when protocol is unix - fixed bug #17037: 'on update' not mentioned in tableInfo() - fixed bug #17065: There is no NEW row in on DELETE trigger (fix error in FK constraint triggers) - fixed bug #17650: lastInsertId can not handle bigint, forces cast to integer [alexpw] - return ON UPDATE|DELETE action in getTableConstraintDefinition() note: - the multi_query test failes because this is not supported by ext/mysql open todo items: - use a trigger to emulate setting default now()
2010-12-22Update pear-MDB2_Driver_mysql package to 1.5.0b2.taca2-5/+5
1.5.0b3 2010-08-29 12:29 UTC Changelog: - fixed bug #15650: mysqli function used in setCharset() - fixed bug #16003: incorrect check for error after mysql_store_result - fixed bug #16147: first prepared statement is emulated when using factory with mysql - fixed bug #16669: hostspec is ignored when protocol is unix - fixed bug #17037: 'on update' not mentioned in tableInfo() - fixed bug #17065: There is no NEW row in on DELETE trigger (fix error in FK constraint triggers) - fixed bug #17650: lastInsertId can not handle bigint, forces cast to integer [alexpw] - return ON UPDATE|DELETE action in getTableConstraintDefinition() note: - the multi_query test failes because this is not supported by ext/mysql open todo items: - use a trigger to emulate setting default now()
2010-02-04Mark PEAR packages as DESTDIR ready. Thanks to obache@ for the backendjoerg1-1/+3
support.
2009-07-17Give up MAINTAINERadrianp1-2/+2
2009-01-19Updated databases/pear-MDB2_Driver_mysql to 1.5.0b2abs4-41/+12
1.5.0b2 - fixed bug #12117: disconnect() does not work as documented - fixed bug #13412: sometimes getTableConstraintDefinition() fails for FOREIGN KEYs - fixed bug #13581: wrong query in beginTransaction() for certain MySQL versions - request #13657: in setCharset(), use mysql_set_charset() if available [cwiedmann] - fixed bug #13928: Invalid triggers created for 'ON UPDATE' - fixed bug #15051: Cannot create constraints with field length - add index on FK column(s) or a FK constraint cannot be created in some cases 1.5.0b1 - fixed bug #11831: createTable() now supports tables with a multi-field PRIMARY KEY where one field is defined as AUTO_INCREMENT - request #11204: support AUTO_INCREMENT for FLOAT data type and UNSIGNED option for FLOAT and DECIMAL data type [afz] - fixed bug #11692: value of $db->supports('transactions') changes after query [afz] - request #12731: added truncateTable() in the Manager module - request #12732: added vacuum() in the Manager module for OPTIMIZE/VACUUM TABLE abstraction - request #12800: added alterDatabase() in the Manager module [afz] - fixed quoting in createDatabase() in the Manager module - fixed bug #12924: correctly handle internal expected errors even with custom error handling - added standaloneQuery() and databaseExists() - request #13106: added unixtimestamp() in the Function module - fixed regexp in listTableConstraints() in the Manager module to list FOREIGN KEY constraints - fixed bug #13180: MySQL driver tells SAVEPOINT is supported for MyISAM tables - fixed bug #13283: replace() doesn't respect quote_identifiers option - request #13313: setCharSet() supports 'COLLATE' too - fixed bug #13370: some capabilities depend on user options, so check them after a setOption() call - when triggers are supported, two triggers are created to emulate ON UPDATE / ON DELETE actions for FOREIGN KEY constraints. Known limitation: since mysql doesn't support multiple triggers with the same action time and event for one table, if there are multiple table referencing the same table, only the first one will have the triggers created. 1.5.0a2 - fixed bug #12516: error in FK constraint creation query - request #12012: added charset/collation support in createDatabase() 1.5.0a1 - fixed bug #10024: Added new option 'lob_allow_url_include' (default false) to [dis]allow inserting a LOB from an url (file, http, ...). - fixed bug #10986: Using more random statement names (request #11625) - fixed bug #11055: Using placeholders with := variable assignment fails [bekarau] - initial support for FOREIGN KEY constraints in the Manager and Reverse modules - request #11389: added many new MySQL 5.1 error codes in errorInfo() - fixed bug #11428: propagate quote() errors with invalid data types - fixed bug #11590: _getServerCapabilities() has to be called once per connection - fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x - fixed some E_STRICT errors with PHP5 - fixed bug #12010: MDB2_PORTABILITY_RTRIM option was ignored - fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success, as documented - fixed bug #12217: mysql_num_rows() returns FALSE on failure, not NULL (thanks to zaa@zaa.pp.ru) - fixed bug #12242: missing charset info in the Reverse module (patch by Carsten Wiedmann) - fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type as first option - fixed bug #12336: supply default value for NOT NULL timestamp fields
2008-09-17Fix a bug on some platforms which causes the installation to fail.adrianp2-6/+13
Thanks to Peter Avalos for debugging and joerg@ for pointing it out.
2008-07-13Add patch for pear-MDB2 arbitrary file reading vulnerability (CVE-2007-5934).tonnerre4-6/+30
2008-04-30mysql MDB2 driveradrianp4-0/+35