summaryrefslogtreecommitdiff
path: root/databases
AgeCommit message (Collapse)AuthorFilesLines
2013-01-21Add some patches from development repository.taca8-4/+237
* Add fix for CVE-2012-1114/CVE-2012-1115 from repository. * Unset $_SESSION['ACTIVITY'] on logout from repository. * Fix XSS in query from repository. * Add support for SHA512 with OpenLDAP from repository. Bump PKGREVISION.
2013-01-21Remove obsolete BUILDLINK_API_DEPENDS.python25 lines (python25 was removed).wiz1-3/+1
2013-01-21Changes 5.1.67:adam9-57/+57
Bug fixes http://dev.mysql.com/doc/relnotes/mysql/5.1/en/news-5-1-67.html
2013-01-19Add missing buildlink3s for sqsh X11 options.riastradh2-3/+13
2013-01-19Update to 1.958wen2-8/+8
Upstream changes: 1.958 2013-01-15T16:54:40Z * Support for name constructor parameter, set connection name * Add documentation for CLIENT * commands * Improve reliability of Test::SpawnRedisServer 1.957 2013-01-15T13:18:07Z * Fix minimum Perl version 1.956 2013-01-15T10:35:10Z * Add on_connect callback to Redis constructor (issue 28) * Make sure quit() doesn't die when the socket is already dead (issue 30); * Switch to Digest::SHA, one less non-core dep RT#81841 * Try and make Travis-CI more useful, ask for a redis-server * Update SUPPORT section, moving bugtracker to GitHub issues 1.955 2012-10-10T11:43:44Z * Skip 30-scripts.t if the redis-server found lacks script support 1.954 2012-10-10T11:16:22Z * Support for multi-word commands such as "SCRIPT LOAD". * Try another fix for Windows non-blocking reads 1.953 2012-09-05T00:49:11Z * Tweak travis.ci setup 1.952 2012-09-04T11:22:18Z * Added automatic authentication after connection establishment * Support Redis 2.6: Aaron Crane <arc@cpan.org> * Attempt to fix non-blocking read on Windows * Enable travis.ci support on the repository
2013-01-15Drop configure flag that no longer exists.joerg1-2/+1
2013-01-12Update ruby-sqlite3 to 1.3.7.taca2-6/+6
=== 1.3.7 * Bugfixes * Closing a bad statement twice will not segv. * Internal * Unset environment variables that could affect cross compilation.
2013-01-12[>Update ruby-sequel to 3.43.0.taca3-8/+14
=== 3.43.0 (2013-01-08) * Move the #meta_def support for Database, Dataset, and Model to the meta_def extension (jeremyevans) * Fix Database#copy_into on jdbc/postgres when an exception is raised (jeremyevans) * Add core_refinements extension, providing refinement versions of Sequel's core extensions (jeremyevans) * Make Database#copy_into raise a DatabaseError if the database signals an error in the postgres adapter (jeremyevans) * Define respond_to_missing? where method_missing is defined and the object supports respond_to? (jeremyevans) * Allow lambda procs with 0 arity as virtual row blocks on ruby 1.9 (jeremyevans) * Handle schema-qualified row_types in the pg_array integration in the pg_row extension (jeremyevans) (#595) * Support default_schema when reseting primary key sequences on PostgreSQL (jeremyevans) (#596) * Allow treating tinyint(1) unsigned columns as booleans in the mysql adapters (jeremyevans) * Support the jdbc-hsqldb gem in the jdbc adapter, since it has been updated to 2.2.9 (jeremyevans) * Work with new jdbc-* gems that require manual driver loading (kares) (#598) * Cast blobs correctly on DB2 when use_clob_as_blob is false (mluu, jeremyevans) (#594) * Add date_arithmetic extension for database-independent date calculations (jeremyevans) * Make Database#schema handle [host.]database.schema.table qualified tables on Microsoft SQL Server (jeremyevans) * Add Dataset#split_qualifiers helper method for splitting a qualifier identifier into array of strings (jeremyevans) * Make Database#schema_and_table always return strings for the schema and table (jeremyevans) * Skip stripping of blob columns in the string_stripper plugin (jeremyevans) (#593) * Allow Dataset#get to take an array to return multiple values, similar to map/select_map (jeremyevans) * Default :prefetch_rows to 100 in the Oracle adapter (andrewhr) (#592)
2013-01-12Update ruby-do_sqlite3 to 0.10.11.taca2-6/+6
## 0.10.11 2012-12-29 * Rename C symbols to prevent name collitions
2013-01-12Update ruby-do_postgres to 0.10.11.taca2-6/+6
## 0.10.11 2012-12-29 * Rename C symbols to prevent name collitions
2013-01-12Update ruby-do_mysql to 0.10.11.taca2-6/+6
## 0.10.11 2012-12-29 * Rename C symbols to prevent name collitions
2013-01-12Update ruby-data_objects to 0.10.11.taca2-6/+6
## 0.10.11 2012-12-29 * Rename C symbols to prevent name collitions
2013-01-11Fix PLISTjoerg1-1/+2
2013-01-10Changes 3.7.15.2:adam6-21/+21
Fix a bug, introduced in version 3.7.15, that causes an ORDER BY clause to be optimized out of a three-way join when the ORDER BY is actually required.
2013-01-10Update to 1.402wen2-8/+7
Upstream changes: Version 1.402, released December 19, 2012 ------------------------------------------------- [Misc] * add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik) * add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik) * clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik) [Bug fixes] * fix leaking reference to open tables outside SQL::Statement::execute (fixes RT#81523) * looks_like_number identifies 'nan' as number sometimes (add regex to t/06virtual.t) Version 1.401, released October 29, 2012 ------------------------------------------------- [Misc] * Switch to 3-digited minor version [Bug fixes] * undo literal replaces in subqueries before passing them to the child parser * Fix doc typo RT#76764 (STEFFENW) - thanks Steffen * Fix typo documented in RT#71914 (reported by Ze'ev Atlas, fixed by H.Merijn Brand) - thanks Ze'ev and Merijn * Fix DROP TABLE behaviour and error detection [Improvements] * Improve documentation/tests for multiple JOIN's from RT#69573 (from BBYRD) with modifications * Filling in the SQL92 gaps for functions (BBYRD) from RT#72638 with minor modifications - thanks Brendan
2013-01-09Update ruby-activerecord32 to 3.2.11.taca1-4/+4
## Rails 3.2.11 ## * Fix querying with an empty hash *Damien Mathieu* [CVE-2013-0155]
2013-01-09Update ruby-activerecord31 to 3.1.10.taca1-4/+4
## Rails 3.1.10 * Fix querying with an empty hash *Damien Mathieu* [CVE-2013-0155]
2013-01-09Update ruby-activerecord3 to 3.0.19.taca1-4/+4
## Rails 3.0.19 * Fix querying with an empty hash *Damien Mathieu* [CVE-2013-0155]
2013-01-08Upgrade to version 4.1.1darcy2-7/+7
Mainly a bug fix. Also adds a preplacement for the functionality of databases/py-pgnotify which no longer works with new versions of PyGreSQL and PostgreSQL.
2013-01-07Reset PKGREVISION by updating of both php53 and php54.taca1-2/+1
2013-01-05Update ruby-activerecord32 to 3.2.10.taca1-4/+4
## Rails 3.2.10 ## * CVE-2012-5664 options hashes should only be extracted if there are extra parameters.
2013-01-05Update ruby-activerecord31 to 3.1.9.taca1-4/+4
## Rails 3.1.9 * CVE-2012-5664 ensure that options are never taken from the first parameter.
2013-01-05Update ruby-activerecord3 to 3.0.18.taca1-4/+4
## Rails 3.0.18 * CVE-2012-5664 ensure that options are never taken from the first parameter.
2013-01-04Clean up out-of-srcdir build handling.jperkin4-17/+14
2013-01-03Changes 5.5.29:adam5-30/+32
* The SHOW AUTHORS and SHOW CONTRIBUTORS statements are now deprecated in MySQL 5.5 and have been removed in MySQL 5.6. * Bugs Fixed
2013-01-03Changes 3.7.15.1:adam7-22/+23
Fix a bug, introduced in version 3.7.15, that causes a segfault if the AS name of a result column of a SELECT statement is used as a logical term in the WHERE clause.
2013-01-03Fix hard coded PLIST entries. Thanks Ryo ONODERA.darcy2-7/+7
2013-01-03Upgrade to version 4.1.darcy3-9/+13
Changes since 4.0: - Dropped support for Python below 2.5 and PostgreSQL below 8.3. - Added support for Python up to 2.7 and PostgreSQL up to 9.2. - Particularly, support PQescapeLiteral() and PQescapeIdentifier(). - The query method of the classic API now supports positional parameters. This an effective way to pass arbitrary or unknown data without worrying about SQL injection or syntax errors (contribution by Patrick TJ McPhee). - The classic API now supports a method namedresult() in addition to getresult() and dictresult(), which returns the rows of the result as named tuples if these are supported (Python 2.6 or higher). - The classic API has got the new methods begin(), commit(), rollback(), savepoint() and release() for handling transactions. - Both classic and DBAPI 2 connections can now be used as context managers for encapsulating transactions. - The execute() and executemany() methods now return the cursor object, so you can now write statements like "for row in cursor.execute(...)" (as suggested by Adam Frederick). - Binary objects are now automatically escaped and unescaped. - Bug in money quoting fixed. Amounts of $0.00 handled correctly. - Proper handling of date and time objects as input. - Proper handling of floats with 'nan' or 'inf' values as input. - Fixed the set_decimal() function. - All DatabaseError instances now have a sqlstate attribute. - The getnotify() method can now also return payload strings (#15). - Better support for notice processing with the new methods set_notice_receiver() and get_notice_receiver() (as suggested by Michael Filonenko, see #12 and #37). - Open transactions are rolled back when pgdb connections are closed (as suggested by Peter Harris, see #46). - Connections and cursors can now be used with the "with" statement (as suggested by Peter Harris, see #46). - New method use_regtypes() that can be called to let getattnames() return regular type names instead of the simplified classic types (#44).
2012-12-29Remove sqlsharpgtk, as promised last summer. It has not been buildabledholland6-144/+1
in years, and appears to be fully dead upstream.
2012-12-25static const objects must have default constructors, so don't use constjoerg7-1/+116
here. Don't use extern inside functions when the declared function is not in the same namespace.
2012-12-22Fix mysql_client_test_embedded(1) and mysqltest_embedded(1) manual pagestron1-2/+12
in case the package gets built with manual page compression. Bump package revivison because of this bug fix.
2012-12-22Update "phpmyadmin" package to version 3.5.5. Changes since 3.5.4:tron3-7/+8
- bug #3563824 [export] Support Apache's mod_deflate - bug #3585523 [interface] Inline query editing broken after row update - bug #3586389 [setup] Cannot switch language in /setup - bug #3585695 [CSS] Font size in inline query editor is way too big - bug #3588354 [l10n] Portuguese Language not displaying correctly - bug #3591412 [status] Live charts don't work for non-default server - bug [core] Proxy ajax calls to pma.net to avoid browser notices - bug #3593534 [tracking] Structure Snapshot on tracked view renders invalid SQL - bug #3544366 [events] Event comments not saved Approved by Thomas Klausner.
2012-12-17Update ruby-cassandra to 0.17.0.taca3-9/+23
v0.17.0 - multi_get_columns with only one query (courtesy @christian-blades-cb) - documentation fixes for get and multi_get (issue #136, courtesy @christian-blades-cb) v0.16.0 - New :queue_size option for batch mode (courtesy @vicentllongo) - Cassandra 1.1 support (courtesy @hawknewton)
2012-12-16Fix build with ocaml4.dholland9-1/+302
2012-12-16Update ruby-do_sqlite3 to 0.10.10.taca2-7/+6
## 0.10.10 2012-10-11 * Add support to C driver for busy\_timeout ## 0.10.9 2012-08-13 * Fix segfault when loading custom extensions
2012-12-16Update ruby-do_postgres to 0.10.10.taca2-7/+6
## 0.10.10 2012-10-11 No changes ## 0.10.9 2012-08-13 * Improved RETURNING handling on JRuby * Allow for an empty database name
2012-12-16Update ruby-do_mysql to 0.10.10.taca2-7/+6
## 0.10.10 2012-10-11 No changes ## 0.10.9 2012-08-13 * Handle bigint insert id's * Add handling for invalid date and datetimes with value 0000-00-00 * Handle empty database names for connecting to the default database
2012-12-16Update ruby-data_objects to 0.10.0.taca2-6/+6
## 0.10.10 2012-10-11 * JRuby performance improvements * Reconnect added on JRuby * do\_sqlite3 C driver supports busy\_timeout ## 0.10.9 2012-08-13 * Don't try to escape queries when no binding parameters are given
2012-12-16Update ruby-sequel to 3.42.0.taca3-7/+19
=== 3.42.0 (2012-12-03) * If an exception occurs while committing a transaction, attempt to rollback (jeremyevans) * Support setting default string column sizes on a per-Database basis via default_string_column_size (jeremyevans) * Reset Model.instance_dataset when extending the model's dataset (jeremyevans) * Make the force_encoding plugin work with frozen strings (jeremyevans) * Add Database#do on PostgreSQL for using the DO anonymous code block execution statement (jeremyevans) * Remove Model.dataset_methods (jeremyevans) * Allow subset to be called inside a dataset_module block (jeremyevans) * Make Dataset#avg, #interval, #min, #max, #range, and #sum accept virtual row blocks (jeremyevans) * Make Dataset#count use a subselect when the dataset has an offset without a limit (jeremyevans) (#587) * Dump deferrable status of unique indexes on PostgreSQL (radford) (#583) * Extend deferrable constraint support to all types of constraints, not just foreign keys (radford, jeremyevans) (#583) * Support Database#copy_table and #copy_into on jdbc/postgres (bdon) (#580) * Make Dataset#update not use a limit (TOP) on Microsoft SQL Server 2000 (jeremyevans) (#578) === 3.41.0 (2012-11-01) * Add bin/sequel usage guide (jeremyevans) * Make Dataset#reverse and #reverse_order accept virtual row blocks (jeremyevans) * Add Sequel.delay for generic delayed evaluation (jeremyevans) * Make uniqueness validations correctly handle nil values (jeremyevans) * Support :unlogged option for create_table on PostgreSQL (JonathanTron) (#575) * Add ConnectionPool#pool_type to get the type of connection pool in use (jeremyevans) * Explicitly mark primary keys as NOT NULL on SQLite (jeremyevans) * Add support for renaming primary key columns on MySQL (jeremyevans) * Add connection_validator extension for automatically checking connections and transparently handling disconnects (jeremyevans) * Add Database#valid_connection? for checking whether a given connection is valid (jeremyevans) * Make dataset.limit(nil, nil) reset offset as well as limit (jeremyevans) (#571) * Support IMMEDIATE/EXCLUSIVE/DEFERRED transaction modes on SQLite (Eric Wong) * Major change in the Database <-> ConnectionPool interface (jeremyevans) * Make touch plugin handle touching of many_*_many associations (jeremyevans) * Make single_table_inheritance plugin handle non-bijective mappings (hannesg) (#567) * Support foreign key parsing on MSSQL (munkyboy) (#564) * Include SQL::AliasMethods in most pg_* extension objects (treydempsey, jeremyevans) (#563) * Handle failure to create a prepared statement better in the postgres, mysql, and mysql2 adapters (jeremyevans) (#560) * Treat clob columns as strings instead of blobs (jeremyevans) === 3.40.0 (2012-09-26) * Add a cubrid adapter for accessing CUBRID databases via the cubrid gem (jeremyevans) * Add a jdbc/cubrid adapter for accessing CUBRID databases via JDBC on JRuby (jeremyevans) * Return OCI8::CLOB values as ruby Strings in the Oracle adapter (jeremyevans) * Use clob for String :text=>true types on Oracle, DB2, HSQLDB, and Derby (jeremyevans) (#555) * Allowing marshalling of Sequel::Postgres::HStore (jeremyevans) (#556) * Quote channel identifier names when using LISTEN/NOTIFY on PostgreSQL (jeremyevans) * Handle nil values when formatting bound variable arguments in the pg_row extension (jeremyevans) (#548) * Handle nil values when parsing composite types in the pg_row extension (jeremyevans) (#548) * Add :disconnect=>:retry option to Database#transaction, for automatically retrying the transaction on disconnect (jeremyevans) * Greatly improved support on Microsoft Access (jeremyevans) * Support Database#{schema,tables,views,indexes,foreign_key_list} when using ado/access adapter (ericgj) (#545, #546) * Add ado/access adapter for accessing Microsoft Access via the ado adapter (jeremyevans) * Combine disconnect error detection for mysql and mysql2 adapters (jeremyevans) * Update the association_pks plugin to handle composite primary keys (chanks, jeremyevans) (#544)
2012-12-16Update to 2.4.6. Fix python interpreter in installed files.wiz2-7/+8
What's new in psycopg 2.4.6 --------------------------- - Fixed 'cursor()' arguments propagation in connection subclasses and overriding of the 'cursor_factory' argument. Thanks to Corry Haines for the report and the initial patch (ticket #105). - Dropped GIL release during string adaptation around a function call invoking a Python API function, which could cause interpreter crash. Thanks to Manu Cupcic for the report (ticket #110). - Close a green connection if there is an error in the callback. Maybe a harsh solution but it leaves the program responsive (ticket #113). - 'register_hstore()', 'register_composite()', 'tpc_recover()' work with RealDictConnection and Cursor (ticket #114). - Fixed broken pool for Zope and connections re-init across ZSQL methods in the same request (tickets #123, #125, #142). - connect() raises an exception instead of swallowing keyword arguments when a connection string is specified as well (ticket #131). - Discard any result produced by 'executemany()' (ticket #133). - Fixed pickling of FixedOffsetTimezone objects (ticket #135). - Release the GIL around PQgetResult calls after COPY (ticket #140). - Fixed empty strings handling in composite caster (ticket #141). - Fixed pickling of DictRow and RealDictRow objects.
2012-12-16Update ruby-activerecord32 to 3.2.9.taca1-4/+4
## Rails 3.2.9 (unreleased) * Fix issue with collection associations calling first(n)/last(n) and attempting to set the inverse association when `:inverse_of` was used. Fixes #8087. *Carlos Antonio da Silva* * Fix bug when Column is trying to type cast boolean values to integer. Fixes #8067. *Rafael Mendona Frana* * Fix bug where `rake db:test:prepare` tries to load the structure.sql into development database. Fixes #8032. *Grace Liu + Rafael Mendona Frana* * Fixed support for `DATABASE_URL` environment variable for rake db tasks. *Grace Liu* * Fix bug where `update_columns` and `update_column` would not let you update the primary key column. *Henrik Nyh* * Decode URI encoded attributes on database connection URLs. *Shawn Veader* * Fix AR#dup to nullify the validation errors in the dup'ed object. Previously the original and the dup'ed object shared the same errors. *Christian Seiler* * Synchronize around deleting from the reserved connections hash. Fixes #7955 * PostgreSQL adapter correctly fetches default values when using multiple schemas and domains in a db. Fixes #7914 *Arturo Pie* * Fix deprecation notice when loading a collection association that selects columns from other tables, if a new record was previously built using that association. *Ernie Miller* * The postgres adapter now supports tables with capital letters. Fix #5920 *Yves Senn* * `CollectionAssociation#count` returns `0` without querying if the parent record is not persisted. Before: person.pets.count # SELECT COUNT(*) FROM "pets" WHERE "pets"."person_id" IS NULL # => 0 After: person.pets.count # fires without sql query # => 0 *Francesco Rodriguez* * Fix `reset_counters` crashing on `has_many :through` associations. Fix #7822. *lulalala* * ConnectionPool recognizes checkout_timeout spec key as taking precedence over legacy wait_timeout spec key, can be used to avoid conflict with mysql2 use of wait_timeout. Closes #7684. *jrochkind* * Rename field_changed? to _field_changed? so that users can create a field named field *Akira Matsuda*, backported by *Steve Klabnik* * Fix creation of through association models when using `collection=[]` on a `has_many :through` association from an unsaved model. Fix #7661. *Ernie Miller* * Explain only normal CRUD sql (select / update / insert / delete). Fix problem that explains unexplainable sql. Closes #7544 #6458. *kennyj* * Backport test coverage to ensure that PostgreSQL auto-reconnect functionality remains healthy. *Steve Jorgensen* * Use config['encoding'] instead of config['charset'] when executing databases.rake in the mysql/mysql2. A correct option for a database.yml is 'encoding'. *kennyj* * Fix ConnectionAdapters::Column.type_cast_code integer conversion, to always convert values to integer calling #to_i. Fixes #7509. *Thiago Pradi* * Fix time column type casting for invalid time string values to correctly return nil. *Adam Meehan* * Fix `becomes` when using a configured `inheritance_column`. *Yves Senn* * Fix `reset_counters` when there are multiple `belongs_to` association with the same foreign key and one of them have a counter cache. Fixes #5200. *Dave Desrochers* * Round usec when comparing timestamp attributes in the dirty tracking. Fixes #6975. *kennyj* * Use inversed parent for first and last child of has_many association. *Ravil Bayramgalin* * Fix Column.microseconds and Column.fast_string_to_date to avoid converting timestamp seconds to a float, since it occasionally results in inaccuracies with microsecond-precision times. Fixes #7352. *Ari Pollak* * Fix `increment!`, `decrement!`, `toggle!` that was skipping callbacks. Fixes #7306. *Rafael Mendona Frana* * Fix AR#create to return an unsaved record when AR::RecordInvalid is raised. Fixes #3217. *Dave Yeu* * Remove unnecessary transaction when assigning has_one associations with a nil or equal value. Fix #7191. *kennyj* * Allow store to work with an empty column. Fix #4840. *Jeremy Walker* * Remove prepared statement from system query in postgresql adapter. Fix #5872. *Ivan Evtuhovich* * Make sure `:environment` task is executed before `db:schema:load` or `db:structure:load` Fixes #4772. *Seamus Abshere*
2012-12-16recursive bump from cyrus-sasl libsasl2 shlib major bump.obache70-75/+140
2012-12-15Changes 3.7.15:adam7-25/+28
* Added the sqlite3_errstr() interface. * Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors. * Added support for Windows Phone 8 platforms * Enhance IN operator processing to make use of indices with numeric affinities. * Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O. * Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join. * Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table. * Enhancements the command-line shell: * Added the ".print" command * Negative numbers in the ".width" command cause right-alignment * Add the ".wheretrace" command when compiled with SQLITE_DEBUG * Added the busy_timeout pragma. * Added the instr() SQL function. * Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback. * The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. * Enhanced support for QNX. * Work around an optimizer bug in the MSVC compiler when targeting ARM. * Bug fix: Avoid various concurrency problems in shared cache mode. * Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once. * Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting. * Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB. * Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15Added ocaml-dbm package to Makefilejaapb1-1/+2
2012-12-15Added databases/ocaml-dbm version 1.0 to pkgsrc. This is an OCaml binding forjaapb6-0/+82
the gdbm/ndbm database libraries.
2012-12-14build with the same options as the NetBSD builtin version,drochner2-3/+8
bump PKGREV
2012-12-14update to 1.2.11drochner2-6/+6
no changelog available
2012-12-13Changed buildlink include to generic mysql file instead of specific packagejaapb1-3/+3
2012-12-13Set LICENSE.gdt3-3/+6
2012-12-13Set LICENSE.gdt1-1/+2