16 years agoFix depend on Time::Piece for cdbi
Ash Berlin [Tue, 11 Mar 2008 14:29:33 +0000]
Fix depend on Time::Piece for cdbi

16 years agofix Date::Simple req in t/cdbi-t/04-lazy.t
Matt S Trout [Tue, 11 Mar 2008 03:19:20 +0000]
fix Date::Simple req in t/cdbi-t/04-lazy.t

16 years agomoved t/cdbi-t/08-inheritcols.t to use CDBICompat
Matt S Trout [Tue, 11 Mar 2008 03:15:09 +0000]
moved t/cdbi-t/08-inheritcols.t to use CDBICompat

16 years agomoving t/cdbi-t/hasa_without_loading.t to CDBICompat makes it fail, can't leave it...
Matt S Trout [Tue, 11 Mar 2008 03:12:33 +0000]
moving t/cdbi-t/hasa_without_loading.t to CDBICompat makes it fail, can't leave it using CDBI so have temporarily skipped the test that fails

16 years agoMerge 'cdbicompat_integration' into 'trunk'
Matt S Trout [Tue, 11 Mar 2008 03:03:50 +0000]
Merge 'cdbicompat_integration' into 'trunk'

16 years agoFixed a heisenbug where looking at a column group would cause it to be shared.
Michael G Schwern [Tue, 11 Mar 2008 01:18:49 +0000]
Fixed a heisenbug where looking at a column group would cause it to be shared.

16 years agoNo reason to store an empty hash ref for each column
Michael G Schwern [Tue, 11 Mar 2008 00:38:09 +0000]
No reason to store an empty hash ref for each column

16 years agoproper skip
Marcus Ramberg [Mon, 10 Mar 2008 09:50:47 +0000]
proper skip

16 years agoWrap columns() in an array ref for better is_deeply() diagnostics.
Michael G Schwern [Tue, 4 Mar 2008 16:29:45 +0000]
Wrap columns() in an array ref for better is_deeply() diagnostics.

16 years agoMake meta_info() 'args' work.
Michael G Schwern [Sun, 24 Feb 2008 17:13:43 +0000]
Make meta_info() 'args' work.

16 years agoFix the skip for DBD::Multi
Michael G Schwern [Fri, 7 Mar 2008 16:05:35 +0000]
Fix the skip for DBD::Multi

16 years agoFix the merge with txn_scope_guard() and put the necessary =cut in.
Michael G Schwern [Fri, 7 Mar 2008 16:04:34 +0000]
Fix the merge with txn_scope_guard() and put the necessary =cut in.

16 years agoMerge 'trunk' into 'cdbicompat_integration'
Michael G Schwern [Fri, 7 Mar 2008 15:54:18 +0000]
Merge 'trunk' into 'cdbicompat_integration'

r54995@windhund (orig r4113):  ash | 2008-03-01 13:17:54 +0100
Fix versioning test so it works with SQLT 0.09.
r54996@windhund (orig r4114):  ash | 2008-03-04 13:06:34 +0100
is_deferrable patch from Debolaz
r55001@windhund (orig r4119):  teejay | 2008-03-04 20:29:45 +0100
Applied fixes to replication connect_info method
r55002@windhund (orig r4120):  teejay | 2008-03-04 20:31:32 +0100
Applied fixes to replication connect_info method
r55003@windhund (orig r4121):  teejay | 2008-03-04 21:18:45 +0100
works but shouldn't
r55004@windhund (orig r4122):  teejay | 2008-03-04 21:41:32 +0100
roughly DTRT - please to be making less awful
r55008@windhund (orig r4126):  captainL | 2008-03-05 01:07:45 +0100
 r3439@luke-mbp (orig r3680):  captainL | 2007-08-15 13:56:57 +0100
 new branch for ::Versioned enhancements
 r3503@luke-mbp (orig r3681):  captainL | 2007-08-15 14:29:01 +0100
 created ->get_db_version and moved all overridable stuff to do_upgrade
 r3955@luke-mbp (orig r3682):  captainL | 2007-08-15 23:29:57 +0100
 tests are a mess, but Versioned.pm should work now
 r3956@luke-mbp (orig r3683):  captainL | 2007-08-16 00:45:32 +0100
 moved upgrade file reading into upgrade from _on_connect
 r3958@luke-mbp (orig r3689):  captainL | 2007-08-21 12:56:31 +0100
 works well, we now just require a nice way to deploy the SchemaVersions table
 r3959@luke-mbp (orig r3692):  captainL | 2007-08-21 17:58:17 +0100
 determines parser from dbh driver name and gives parser the dbh from schema to connect
 r4213@luke-mbp (orig r3831):  captainL | 2007-10-23 13:18:13 +0100
 fixed versioning test and checked db and schema versions are not equal before upgrading
 r4214@luke-mbp (orig r3832):  captainL | 2007-10-23 15:08:46 +0100
 changed constraint and index generation to be consistent with DB defaults
 r4215@luke-mbp (orig r3833):  captainL | 2007-10-23 15:40:47 +0100
 added entry to Changes
 r4283@luke-mbp (orig r3838):  captainL | 2007-10-24 21:42:22 +0100
 fixed broken regex when reading sql files
 r5785@luke-mbp (orig r3891):  ash | 2007-11-24 22:17:41 +0000
 Change diffing code to use $sqlt_schema. Sort tables in parser
 r5786@luke-mbp (orig r3892):  captainL | 2007-11-25 16:26:57 +0000
 upgrade will only produce a diff between the DB and the DBIC schema if explicitly requested
 r5824@luke-mbp (orig r4012):  ash | 2008-02-01 19:33:00 +0000
 Fallback to SQL->SQL to diff for old producers
 r5825@luke-mbp (orig r4014):  castaway | 2008-02-01 23:01:26 +0000
 Sanitise filename of sqlite backup file

 r5830@luke-mbp (orig r4047):  captainL | 2008-02-09 15:26:50 +0000
 sanified layout of Versioned.pm and documented changes
 r6828@luke-mbp (orig r4075):  ash | 2008-02-13 13:26:10 +0000
 Fix typo
 r6831@luke-mbp (orig r4078):  captainL | 2008-02-14 00:27:14 +0000
 fixed versioned loading split bug
 r6846@luke-mbp (orig r4103):  captainL | 2008-02-27 15:11:21 +0000
 increased sqlt rev dep
 r6847@luke-mbp (orig r4104):  captainL | 2008-02-27 15:12:12 +0000
 fixed behaviour or is_foreign_key_constraint and unique index names
 r6848@luke-mbp (orig r4105):  captainL | 2008-02-28 10:28:31 +0000
 changed versioning table from SchemaVersions to dbix_class_schema_versions with transition ability
 r6849@luke-mbp (orig r4106):  captainL | 2008-02-28 10:54:28 +0000
 hack bugfix for sqlt_type weirdness
 r6850@luke-mbp (orig r4107):  captainL | 2008-02-28 16:11:44 +0000
 cleaned up get_db_version
 r6851@luke-mbp (orig r4108):  captainL | 2008-02-28 16:41:19 +0000
 lowercased column names of versions table
 r6852@luke-mbp (orig r4109):  captainL | 2008-02-28 16:59:04 +0000
 removed startup comment if no action required
 r6862@luke-mbp (orig r4123):  captainL | 2008-03-04 23:14:23 +0000
 improved docs and added env var to skip version checks on connect
 r6864@luke-mbp (orig r4125):  captainL | 2008-03-04 23:28:21 +0000
 manual merge for deferrable changes from trunk

r55009@windhund (orig r4127):  captainL | 2008-03-05 11:38:19 +0100
added entry in Changes for versioning branch
r55025@windhund (orig r4143):  castaway | 2008-03-07 00:26:08 +0100
Random pod/doc pokage

16 years agoRandom pod/doc pokage
Jess Robinson [Thu, 6 Mar 2008 23:26:08 +0000]
Random pod/doc pokage

16 years agoAdded the function bind_attributes_by_data_type to cope with the 'Invalid precision...
Øystein Torget [Thu, 6 Mar 2008 11:32:12 +0000]
Added the function bind_attributes_by_data_type to cope with the 'Invalid precision value' bug on MEMO columns.

Added documentation for the 'Invalid precision value' bug.

16 years agoadded entry in Changes for versioning branch
Luke Saunders [Wed, 5 Mar 2008 10:38:19 +0000]
added entry in Changes for versioning branch

16 years agoMerge 'versioned_enhancements' into 'trunk'
Luke Saunders [Wed, 5 Mar 2008 00:07:45 +0000]
Merge 'versioned_enhancements' into 'trunk'

r3439@luke-mbp (orig r3680):  captainL | 2007-08-15 13:56:57 +0100
new branch for ::Versioned enhancements
r3503@luke-mbp (orig r3681):  captainL | 2007-08-15 14:29:01 +0100
created ->get_db_version and moved all overridable stuff to do_upgrade
r3955@luke-mbp (orig r3682):  captainL | 2007-08-15 23:29:57 +0100
tests are a mess, but Versioned.pm should work now
r3956@luke-mbp (orig r3683):  captainL | 2007-08-16 00:45:32 +0100
moved upgrade file reading into upgrade from _on_connect
r3958@luke-mbp (orig r3689):  captainL | 2007-08-21 12:56:31 +0100
works well, we now just require a nice way to deploy the SchemaVersions table
r3959@luke-mbp (orig r3692):  captainL | 2007-08-21 17:58:17 +0100
determines parser from dbh driver name and gives parser the dbh from schema to connect
r4213@luke-mbp (orig r3831):  captainL | 2007-10-23 13:18:13 +0100
fixed versioning test and checked db and schema versions are not equal before upgrading
r4214@luke-mbp (orig r3832):  captainL | 2007-10-23 15:08:46 +0100
changed constraint and index generation to be consistent with DB defaults
r4215@luke-mbp (orig r3833):  captainL | 2007-10-23 15:40:47 +0100
added entry to Changes
r4283@luke-mbp (orig r3838):  captainL | 2007-10-24 21:42:22 +0100
fixed broken regex when reading sql files
r5785@luke-mbp (orig r3891):  ash | 2007-11-24 22:17:41 +0000
Change diffing code to use $sqlt_schema. Sort tables in parser
r5786@luke-mbp (orig r3892):  captainL | 2007-11-25 16:26:57 +0000
upgrade will only produce a diff between the DB and the DBIC schema if explicitly requested
r5824@luke-mbp (orig r4012):  ash | 2008-02-01 19:33:00 +0000
Fallback to SQL->SQL to diff for old producers
r5825@luke-mbp (orig r4014):  castaway | 2008-02-01 23:01:26 +0000
Sanitise filename of sqlite backup file

r5830@luke-mbp (orig r4047):  captainL | 2008-02-09 15:26:50 +0000
sanified layout of Versioned.pm and documented changes
r6828@luke-mbp (orig r4075):  ash | 2008-02-13 13:26:10 +0000
Fix typo
r6831@luke-mbp (orig r4078):  captainL | 2008-02-14 00:27:14 +0000
fixed versioned loading split bug
r6846@luke-mbp (orig r4103):  captainL | 2008-02-27 15:11:21 +0000
increased sqlt rev dep
r6847@luke-mbp (orig r4104):  captainL | 2008-02-27 15:12:12 +0000
fixed behaviour or is_foreign_key_constraint and unique index names
r6848@luke-mbp (orig r4105):  captainL | 2008-02-28 10:28:31 +0000
changed versioning table from SchemaVersions to dbix_class_schema_versions with transition ability
r6849@luke-mbp (orig r4106):  captainL | 2008-02-28 10:54:28 +0000
hack bugfix for sqlt_type weirdness
r6850@luke-mbp (orig r4107):  captainL | 2008-02-28 16:11:44 +0000
cleaned up get_db_version
r6851@luke-mbp (orig r4108):  captainL | 2008-02-28 16:41:19 +0000
lowercased column names of versions table
r6852@luke-mbp (orig r4109):  captainL | 2008-02-28 16:59:04 +0000
removed startup comment if no action required
r6862@luke-mbp (orig r4123):  captainL | 2008-03-04 23:14:23 +0000
improved docs and added env var to skip version checks on connect
r6864@luke-mbp (orig r4125):  captainL | 2008-03-04 23:28:21 +0000
manual merge for deferrable changes from trunk

16 years agomanual merge for deferrable changes from trunk
Luke Saunders [Tue, 4 Mar 2008 23:28:21 +0000]
manual merge for deferrable changes from trunk

16 years agoMerge 'trunk' into 'versioned_enhancements'
Luke Saunders [Tue, 4 Mar 2008 23:16:41 +0000]
Merge 'trunk' into 'versioned_enhancements'

r6854@luke-mbp (orig r4110):  ash | 2008-02-28 19:33:59 +0000
Todo tests for txn_rollback and scope_guard
r6856@luke-mbp (orig r4113):  ash | 2008-03-01 12:17:54 +0000
Fix versioning test so it works with SQLT 0.09.
r6857@luke-mbp (orig r4114):  ash | 2008-03-04 12:06:34 +0000
is_deferrable patch from Debolaz
r6858@luke-mbp (orig r4119):  teejay | 2008-03-04 19:29:45 +0000
Applied fixes to replication connect_info method
r6859@luke-mbp (orig r4120):  teejay | 2008-03-04 19:31:32 +0000
Applied fixes to replication connect_info method
r6860@luke-mbp (orig r4121):  teejay | 2008-03-04 20:18:45 +0000
works but shouldn't
r6861@luke-mbp (orig r4122):  teejay | 2008-03-04 20:41:32 +0000
roughly DTRT - please to be making less awful

16 years agoimproved docs and added env var to skip version checks on connect
Luke Saunders [Tue, 4 Mar 2008 23:14:23 +0000]
improved docs and added env var to skip version checks on connect

16 years agoroughly DTRT - please to be making less awful
Aaron Trevena [Tue, 4 Mar 2008 20:41:32 +0000]
roughly DTRT - please to be making less awful

16 years agoworks but shouldn't
Aaron Trevena [Tue, 4 Mar 2008 20:18:45 +0000]
works but shouldn't

16 years agoApplied fixes to replication connect_info method
Aaron Trevena [Tue, 4 Mar 2008 19:31:32 +0000]
Applied fixes to replication connect_info method

16 years agoApplied fixes to replication connect_info method
Aaron Trevena [Tue, 4 Mar 2008 19:29:45 +0000]
Applied fixes to replication connect_info method

16 years agois_deferrable patch from Debolaz
Ash Berlin [Tue, 4 Mar 2008 12:06:34 +0000]
is_deferrable patch from Debolaz

16 years agoFix versioning test so it works with SQLT 0.09. v0.08010
Ash Berlin [Sat, 1 Mar 2008 12:17:54 +0000]
Fix versioning test so it works with SQLT 0.09.

16 years agoMerge 'trunk' into 'cdbicompat_integration'
Ash Berlin [Thu, 28 Feb 2008 17:33:59 +0000]
Merge 'trunk' into 'cdbicompat_integration'

r54651@windhund (orig r4110):  ash | 2008-02-28 11:33:59 -0800
Todo tests for txn_rollback and scope_guard

16 years agoTodo tests for txn_rollback and scope_guard
Ash Berlin [Thu, 28 Feb 2008 19:33:59 +0000]
Todo tests for txn_rollback and scope_guard

16 years agoremoved startup comment if no action required
Luke Saunders [Thu, 28 Feb 2008 16:59:04 +0000]
removed startup comment if no action required

16 years agolowercased column names of versions table
Luke Saunders [Thu, 28 Feb 2008 16:41:19 +0000]
lowercased column names of versions table

16 years agocleaned up get_db_version
Luke Saunders [Thu, 28 Feb 2008 16:11:44 +0000]
cleaned up get_db_version

16 years agohack bugfix for sqlt_type weirdness
Luke Saunders [Thu, 28 Feb 2008 10:54:28 +0000]
hack bugfix for sqlt_type weirdness

16 years agochanged versioning table from SchemaVersions to dbix_class_schema_versions with trans...
Luke Saunders [Thu, 28 Feb 2008 10:28:31 +0000]
changed versioning table from SchemaVersions to dbix_class_schema_versions with transition ability

16 years agofixed behaviour or is_foreign_key_constraint and unique index names
Luke Saunders [Wed, 27 Feb 2008 15:12:12 +0000]
fixed behaviour or is_foreign_key_constraint and unique index names

16 years agoincreased sqlt rev dep
Luke Saunders [Wed, 27 Feb 2008 15:11:21 +0000]
increased sqlt rev dep

16 years agoMerge 'trunk' into 'versioned_enhancements'
Ash Berlin [Sun, 10 Feb 2008 23:31:27 +0000]
Merge 'trunk' into 'versioned_enhancements'

r6807@luke-mbp (orig r4050):  ash | 2008-02-10 17:31:27 +0000
Add txn_scope_guard method/object

16 years agoRemove the now redudant ObjIndexStubs.
Michael G Schwern [Sun, 24 Feb 2008 07:45:49 +0000]
Remove the now redudant ObjIndexStubs.

Fix pod coverage.

16 years agoAdd NoObjectIndex which turns the live object index off and removes all the
Michael G Schwern [Sun, 24 Feb 2008 07:43:58 +0000]
Add NoObjectIndex which turns the live object index off and removes all the
hooks in insert and such, but retains stub indexing methods so as not to
break code.

16 years agoFix the DESTROY/discard_changes() infinite recursion at the DBIC level.
Michael G Schwern [Sun, 24 Feb 2008 07:24:55 +0000]
Fix the DESTROY/discard_changes() infinite recursion at the DBIC level.

16 years agoFix the pod coverage failure.
Michael G Schwern [Sun, 24 Feb 2008 07:22:57 +0000]
Fix the pod coverage failure.

16 years agoGreatly speed up result_source_instance() and all the many things which
Michael G Schwern [Sun, 24 Feb 2008 07:20:41 +0000]
Greatly speed up result_source_instance() and all the many things which
use it by eliminating the calls to $self->result_class.

16 years agoThe infinite loop with sub DESTROY { $_[0]->discard_changes } is a DBIC
Michael G Schwern [Fri, 22 Feb 2008 03:04:31 +0000]
The infinite loop with sub DESTROY { $_[0]->discard_changes } is a DBIC
thing.

16 years agoEnsure that has_many() loads the foreign class.
Michael G Schwern [Sun, 24 Feb 2008 09:12:46 +0000]
Ensure that has_many() loads the foreign class.

16 years agoAdd in a warning if a column is declared as TEMP but it's already declared
Michael G Schwern [Thu, 21 Feb 2008 06:34:10 +0000]
Add in a warning if a column is declared as TEMP but it's already declared
real.

16 years agoMerge 'trunk' into 'cdbicompat_integration'
Michael G Schwern [Thu, 21 Feb 2008 08:03:47 +0000]
Merge 'trunk' into 'cdbicompat_integration'

r54378@windhund (orig r3954):  matthewt | 2008-01-18 05:03:08 -0800
added strict and warnings to HashRefInflator, fixed inflation for empty has_many rels
r54379@windhund (orig r3955):  matthewt | 2008-01-20 04:28:55 -0800
made search_rs smarter about when to preserve the cache to fix mm prefetch usage
r54389@windhund (orig r3965):  semifor | 2008-01-22 07:13:11 -0800
Added build_datetime_parser method for MSSQL over ODBC.
r54394@windhund (orig r3970):  castaway | 2008-01-24 05:19:52 -0800
Oops, fix joining manual to be correct

r54395@windhund (orig r3971):  castaway | 2008-01-24 15:22:49 -0800
Version 0.08009

r54396@windhund (orig r3972):  castaway | 2008-01-24 15:36:59 -0800
0.08009 released

r54399@windhund (orig r3975):  tomboh | 2008-01-25 09:20:38 -0800
Fix a typo and a couple of links.

r54448@windhund (orig r4024):  oyse | 2008-02-05 00:42:32 -0800
Added Øystein Torget to the list of contributers
r54474@windhund (orig r4050):  ash | 2008-02-10 09:31:27 -0800
Add txn_scope_guard method/object

16 years agoImplement cascade => "None"
Michael G Schwern [Thu, 14 Feb 2008 10:23:57 +0000]
Implement cascade => "None"

16 years agocascade delete test from Class-DBI 3.0.17
Michael G Schwern [Thu, 14 Feb 2008 09:57:52 +0000]
cascade delete test from Class-DBI 3.0.17

16 years agoPut the stringification back, older versions of DateTime string equality are
Michael G Schwern [Thu, 14 Feb 2008 07:43:24 +0000]
Put the stringification back, older versions of DateTime string equality are
still broken.  But don't bother to stringify anything that's not a reference.

16 years agofixed versioned loading split bug
Luke Saunders [Thu, 14 Feb 2008 00:27:14 +0000]
fixed versioned loading split bug

16 years agoExpand the CDBICompat docs to show of it's features, the fact that you're
Michael G Schwern [Wed, 13 Feb 2008 22:10:33 +0000]
Expand the CDBICompat docs to show of it's features, the fact that you're
getting DBIC objects and to be more oriented towards CDBI users.

16 years agoEmulate $CDBI::Weaken_Not_Available and CDBI::Plugin::NoCache
Michael G Schwern [Wed, 13 Feb 2008 22:10:06 +0000]
Emulate $CDBI::Weaken_Not_Available and CDBI::Plugin::NoCache

16 years agoFix typo
Ash Berlin [Wed, 13 Feb 2008 13:26:10 +0000]
Fix typo

16 years agoForgot to set up the relationship between Actor and Film. Turns it out
Michael G Schwern [Wed, 13 Feb 2008 08:14:34 +0000]
Forgot to set up the relationship between Actor and Film.  Turns it out
was working because create() was holding onto the given values but once
we changed it to throw them out it (properly) broke.

16 years agoFix create() in the same way as update() so it throws out the new values and
Michael G Schwern [Wed, 13 Feb 2008 07:41:26 +0000]
Fix create() in the same way as update() so it throws out the new values and
reloads them from the database on demand.

16 years agoFix the test to skip if MyFoo won't load.
Michael G Schwern [Wed, 13 Feb 2008 07:11:54 +0000]
Fix the test to skip if MyFoo won't load.

16 years agoTest that DateTime objects can safely be updated twice (which is what triggers
Michael G Schwern [Wed, 13 Feb 2008 07:06:42 +0000]
Test that DateTime objects can safely be updated twice (which is what triggers
the equality check).

Remove the stringification to shield broken equality since DateTime seems
to work.

This also shuts up a warning in GetSet when you set to an undef value.
Test that.

Change from bitwise xor to regular xor since bitwise is overkill and nobody
knows what ^ is.

16 years agoQuiet a warning
Michael G Schwern [Wed, 13 Feb 2008 07:04:38 +0000]
Quiet a warning

16 years agoFix update() so it throws out inflated values, too
Michael G Schwern [Wed, 13 Feb 2008 06:51:47 +0000]
Fix update() so it throws out inflated values, too

16 years agoPOD mistake.
Michael G Schwern [Wed, 13 Feb 2008 05:22:51 +0000]
POD mistake.

16 years agoDocument the relationship declaration limitation.
Michael G Schwern [Wed, 13 Feb 2008 05:21:28 +0000]
Document the relationship declaration limitation.

16 years agoRemove the big, out of date list of CDBICompat components
Michael G Schwern [Wed, 13 Feb 2008 05:16:34 +0000]
Remove the big, out of date list of CDBICompat components

Document the limits of CDBI::Relationship support

16 years agoEmulate that CDBI throws out all changed columns and reloads them on
Michael G Schwern [Wed, 13 Feb 2008 05:14:09 +0000]
Emulate that CDBI throws out all changed columns and reloads them on
request in case the database modifies the new value (say, via a trigger)

16 years agoEmulate that Class::DBI inflates immediately
Michael G Schwern [Wed, 13 Feb 2008 01:46:17 +0000]
Emulate that Class::DBI inflates immediately

16 years agoHash access no works despite lack of existing accessor method.
Michael G Schwern [Wed, 13 Feb 2008 01:26:10 +0000]
Hash access no works despite lack of existing accessor method.

16 years agoLocalize the warning tests.
Michael G Schwern [Wed, 13 Feb 2008 01:20:26 +0000]
Localize the warning tests.

16 years agoWhen emulating $obj->{column} do not call any custom column method, just
Michael G Schwern [Wed, 13 Feb 2008 01:16:29 +0000]
When emulating $obj->{column} do not call any custom column method, just
access the data directly with get/set_column().

16 years agoFix the POD coverage test.
Michael G Schwern [Wed, 13 Feb 2008 00:33:57 +0000]
Fix the POD coverage test.

16 years agoMerge HasA, HasMany and MightHave into one file, Relationships, for easier
Michael G Schwern [Tue, 12 Feb 2008 08:32:29 +0000]
Merge HasA, HasMany and MightHave into one file, Relationships, for easier
development.

Implement meta_info() and emulate the basic CDBI::Relationship object.

16 years agoRemove stray $DB::single
Michael G Schwern [Tue, 12 Feb 2008 08:29:30 +0000]
Remove stray $DB::single

16 years agoNot going to do DeepAbstractSearch after all.
Michael G Schwern [Tue, 12 Feb 2008 08:27:53 +0000]
Not going to do DeepAbstractSearch after all.

16 years agoTest "like" in search_where()
Michael G Schwern [Tue, 12 Feb 2008 01:21:42 +0000]
Test "like" in search_where()

16 years agoOriginal tests from Class::DBI::Plugin::DeepAbstractSearch
Michael G Schwern [Tue, 12 Feb 2008 01:17:45 +0000]
Original tests from Class::DBI::Plugin::DeepAbstractSearch

16 years agoAdd txn_scope_guard method/object
Ash Berlin [Sun, 10 Feb 2008 17:31:27 +0000]
Add txn_scope_guard method/object

16 years agoMerge 'trunk' into 'versioned_enhancements'
Øystein Torget [Tue, 5 Feb 2008 14:42:32 +0000]
Merge 'trunk' into 'versioned_enhancements'

r5826@luke-mbp (orig r4024):  oyse | 2008-02-05 08:42:32 +0000
Added Øystein Torget to the list of contributers

16 years agosanified layout of Versioned.pm and documented changes
Luke Saunders [Sat, 9 Feb 2008 15:26:50 +0000]
sanified layout of Versioned.pm and documented changes

16 years agoInitial import of storage class for MS Acccess
Øystein Torget [Tue, 5 Feb 2008 08:55:39 +0000]
Initial import of storage class for MS Acccess

16 years agoAdded Øystein Torget to the list of contributers
Øystein Torget [Tue, 5 Feb 2008 08:42:32 +0000]
Added Øystein Torget to the list of contributers

16 years agoSanitise filename of sqlite backup file
Jess Robinson [Fri, 1 Feb 2008 23:01:26 +0000]
Sanitise filename of sqlite backup file

16 years agoFallback to SQL->SQL to diff for old producers
Ash Berlin [Fri, 1 Feb 2008 19:33:00 +0000]
Fallback to SQL->SQL to diff for old producers

16 years agoMerge 'trunk' into 'versioned_enhancements'
Ash Berlin [Wed, 30 Jan 2008 16:27:24 +0000]
Merge 'trunk' into 'versioned_enhancements'

r13312@proteus (orig r3942):  schwern | 2008-01-16 10:25:36 +0000
Declare dep on JSON::Any rather than JSON.

No reason JSON::Any should prefer JSON.pm over it's default ordering.
r13313@proteus (orig r3943):  schwern | 2008-01-16 10:26:26 +0000
And fix the check in the dbicadmin test to look for JSON::Any.
r13867@proteus (orig r3954):  matthewt | 2008-01-18 13:03:08 +0000
added strict and warnings to HashRefInflator, fixed inflation for empty has_many rels
r13868@proteus (orig r3955):  matthewt | 2008-01-20 12:28:55 +0000
made search_rs smarter about when to preserve the cache to fix mm prefetch usage
r13878@proteus (orig r3965):  semifor | 2008-01-22 15:13:11 +0000
Added build_datetime_parser method for MSSQL over ODBC.
r13883@proteus (orig r3970):  castaway | 2008-01-24 13:19:52 +0000
Oops, fix joining manual to be correct

r13884@proteus (orig r3971):  castaway | 2008-01-24 23:22:49 +0000
Version 0.08009

r13885@proteus (orig r3972):  castaway | 2008-01-24 23:36:59 +0000
0.08009 released

r13888@proteus (orig r3975):  tomboh | 2008-01-25 17:20:38 +0000
Fix a typo and a couple of links.

16 years agoFix a typo and a couple of links.
Tom Hukins [Fri, 25 Jan 2008 17:20:38 +0000]
Fix a typo and a couple of links.

16 years ago0.08009 released
Jess Robinson [Thu, 24 Jan 2008 23:36:59 +0000]
0.08009 released

16 years agoVersion 0.08009
Jess Robinson [Thu, 24 Jan 2008 23:22:49 +0000]
Version 0.08009

16 years agoOops, fix joining manual to be correct
Jess Robinson [Thu, 24 Jan 2008 13:19:52 +0000]
Oops, fix joining manual to be correct

16 years agoAdded build_datetime_parser method for MSSQL over ODBC.
Marc Mims [Tue, 22 Jan 2008 15:13:11 +0000]
Added build_datetime_parser method for MSSQL over ODBC.

16 years agomade search_rs smarter about when to preserve the cache to fix mm prefetch usage
Matt S Trout [Sun, 20 Jan 2008 12:28:55 +0000]
made search_rs smarter about when to preserve the cache to fix mm prefetch usage

16 years agoadded strict and warnings to HashRefInflator, fixed inflation for empty has_many...
Matt S Trout [Fri, 18 Jan 2008 13:03:08 +0000]
added strict and warnings to HashRefInflator, fixed inflation for empty has_many rels

16 years agoMake the hash-key warning dependent on DBIC_CDBICOMPAT_HASH_WARN because
Michael G Schwern [Thu, 17 Jan 2008 21:57:39 +0000]
Make the hash-key warning dependent on DBIC_CDBICOMPAT_HASH_WARN because
boy is it annoying!

16 years agoMake freeze/thaw and dclone work as functions on CDBICompat objects.
Michael G Schwern [Thu, 17 Jan 2008 19:31:44 +0000]
Make freeze/thaw and dclone work as functions on CDBICompat objects.

16 years agoMerge 'trunk' into 'cdbicompat_integration'
Michael G Schwern [Wed, 16 Jan 2008 10:27:08 +0000]
Merge 'trunk' into 'cdbicompat_integration'

r52292@windhund (orig r3942):  schwern | 2008-01-16 02:25:36 -0800
Declare dep on JSON::Any rather than JSON.

No reason JSON::Any should prefer JSON.pm over it's default ordering.
r52293@windhund (orig r3943):  schwern | 2008-01-16 02:26:26 -0800
And fix the check in the dbicadmin test to look for JSON::Any.

16 years agoAnd fix the check in the dbicadmin test to look for JSON::Any.
Michael G Schwern [Wed, 16 Jan 2008 10:26:26 +0000]
And fix the check in the dbicadmin test to look for JSON::Any.

16 years agoDeclare dep on JSON::Any rather than JSON.
Michael G Schwern [Wed, 16 Jan 2008 10:25:36 +0000]
Declare dep on JSON::Any rather than JSON.

No reason JSON::Any should prefer JSON.pm over it's default ordering.

16 years agofreeze/thaw/dclone as functions can't be made to reliably work. I'll
Michael G Schwern [Wed, 16 Jan 2008 08:17:30 +0000]
freeze/thaw/dclone as functions can't be made to reliably work.  I'll
have to change the calling code in my app.

16 years agoMerge 'trunk' into 'cdbicompat_integration'
Michael G Schwern [Wed, 16 Jan 2008 08:19:42 +0000]
Merge 'trunk' into 'cdbicompat_integration'

r52127@windhund (orig r3782):  ash | 2007-09-25 08:39:52 -0700
Throw if "foreign." and "self." are wrong way round in conditions for relationships
r52139@windhund (orig r3794):  bricas | 2007-09-27 11:37:15 -0700
ResultSetColumn::func() now returns all results if called in list context
r52140@windhund (orig r3795):  castaway | 2007-09-28 00:51:40 -0700
Tests from captainL, find_or_new_related fails on belongs_to rels.

r52141@windhund (orig r3796):  wreis | 2007-09-28 17:35:55 -0700
select for patch from justin
r52142@windhund (orig r3797):  castaway | 2007-09-29 15:37:07 -0700
Fix "redefined" errors resulting from loading a Schema twice.

r52143@windhund (orig r3798):  captainL | 2007-10-02 08:38:21 -0700
fixed find_or_new_related bug
r52144@windhund (orig r3799):  captainL | 2007-10-02 08:43:16 -0700
added comment explaining change
r52145@windhund (orig r3800):  ash | 2007-10-03 13:00:32 -0700
Many-to-many relationships now warn if the utility methods would clash
r52148@windhund (orig r3803):  semifor | 2007-10-04 09:29:15 -0700
 r1357@titanic:  mjm | 2007-10-04 08:48:06 -0700
 - Doc patch for using an SQL function on the left side of a comparison.
 - Which lead to the discovery of a bind args ordering bug.  TODO tests added
   for that.
 - Fixed =for hidden with =begin hidden / =end hidden elsewhere.
 - Added myself to the contributors list.

r52149@windhund (orig r3804):  captainL | 2007-10-04 13:54:08 -0700
fixed search_related from object with unset FK behaviour
r52150@windhund (orig r3805):  semifor | 2007-10-05 14:30:19 -0700
 r1365@titanic:  mjm | 2007-10-05 13:49:20 -0700
 Fixed warning on uninitialized value.

r52154@windhund (orig r3809):  ash | 2007-10-07 14:50:33 -0700
Timezone support for InflateColumn::DateTime (sergio)
r52158@windhund (orig r3813):  ash | 2007-10-12 03:26:55 -0700
Add an add_index method on ResultSource (and proxy classes)
r52159@windhund (orig r3814):  ash | 2007-10-12 03:32:41 -0700
s/indices/indexes/ to keep Jess happy.
r52160@windhund (orig r3815):  ash | 2007-10-12 10:46:55 -0700
Remove add_index and replace it with sqlt_deploy_hook
r52161@windhund (orig r3816):  ash | 2007-10-12 11:20:43 -0700
Test sqlt_deploy_hook on the Schema level
r52162@windhund (orig r3817):  ash | 2007-10-13 05:33:33 -0700
Add docs about sqlt_deploy_hook, and reorganise/reorder the Cookbook
r52166@windhund (orig r3821):  nigel | 2007-10-17 08:59:12 -0700
Added reference to RH perl bug at appropriate points
r52169@windhund (orig r3824):  ash | 2007-10-20 04:01:07 -0700
Added startup checks to warn loudly if we appear to be running on RedHat systems from perl-5.8.8-10 and up that have the bless/overload patch applied (badly) which causes 2x -> 100x performance penalty.  (Jon Schutz)
r52170@windhund (orig r3825):  castaway | 2007-10-21 04:46:56 -0700
Documentation clarifications

r52174@windhund (orig r3829):  captainL | 2007-10-22 12:45:46 -0700
fixed problem with duplicate related objects for Row::new/insert
r52185@windhund (orig r3840):  bert | 2007-10-25 03:04:42 -0700
 r10510@beetle:  bert | 2007-10-25 11:22:07 +0200
 Merged with replication branch (fixed wrong object-function calls preventing set_schema to work rev3823). Added myself to contributors.

r52186@windhund (orig r3841):  captainL | 2007-10-26 03:53:26 -0700
the checks in reverse_relationship_info are less ambiguous
r52187@windhund (orig r3842):  ash | 2007-10-27 10:53:39 -0700
Reorder Changes file. (New changes go at bottom of block please!)
r52188@windhund (orig r3843):  tomboh | 2007-10-29 10:19:01 -0700
Improve Documentation.

r52189@windhund (orig r3844):  captainL | 2007-10-29 13:26:02 -0700
fixed _merge_attr bug
r52190@windhund (orig r3845):  captainL | 2007-10-29 13:28:45 -0700
spelt Zby's name properly
r52197@windhund (orig r3852):  castaway | 2007-11-02 19:17:11 -0700
Improve inflatecolumn docs

r52198@windhund (orig r3853):  matthewt | 2007-11-06 06:53:48 -0800
make belongs_to accept an [] join cond
r52217@windhund (orig r3872):  castaway | 2007-11-12 13:13:33 -0800
Added cookbook recipe for using dual, thanks Richard

r52224@windhund (orig r3879):  ash | 2007-11-15 04:49:53 -0800
Fix is_foreign_key_constraint - thanks Jon Schutz
r52225@windhund (orig r3880):  ash | 2007-11-15 05:02:15 -0800
Adding missing file
r52226@windhund (orig r3881):  ash | 2007-11-15 05:52:58 -0800
Fix t/82cascade_copy.t
r52228@windhund (orig r3883):  tomboh | 2007-11-15 07:05:12 -0800
Remove an unneeded requirement.

r52230@windhund (orig r3885):  ash | 2007-11-16 06:30:51 -0800
Version bump
r52231@windhund (orig r3886):  ash | 2007-11-19 10:11:53 -0800
Fix END block
r52232@windhund (orig r3887):  wreis | 2007-11-21 05:57:35 -0800
minor fixes for ResultSet docs
r52233@windhund (orig r3888):  ash | 2007-11-22 07:27:23 -0800
Fix mistakes
r52234@windhund (orig r3889):  ash | 2007-11-24 13:24:53 -0800
Sort tables for consistent output
r52242@windhund (orig r3897):  wreis | 2007-12-10 17:29:51 -0800
minor doc fix
r52246@windhund (orig r3901):  ash | 2007-12-20 03:02:15 -0800
Add proper thaw hooks so schema gets re-attached
r52253@windhund (orig r3908):  perigrin | 2008-01-02 12:52:13 -0800
move dbicadmin to JSON::Any
r52254@windhund (orig r3909):  semifor | 2008-01-02 14:24:23 -0800
Added Storage::DBI subclass for MSSQL auto PK over ODBC.

r52255@windhund (orig r3910):  nothingmuch | 2008-01-03 05:18:36 -0800
failing test for inflate not being triggerred with copy()
r52256@windhund (orig r3911):  nothingmuch | 2008-01-03 05:31:49 -0800
test plan
r52257@windhund (orig r3912):  nothingmuch | 2008-01-03 05:35:20 -0800
introduce set_inflated_columns
r52258@windhund (orig r3913):  nothingmuch | 2008-01-03 05:36:07 -0800
pod coverage for Storage::DBI::ODBC::Microsoft_SQL_Server
r52259@windhund (orig r3914):  nothingmuch | 2008-01-03 05:53:00 -0800
dbicadmin printed even when quiet
r52260@windhund (orig r3915):  nothingmuch | 2008-01-03 05:54:38 -0800
make the dbicadmin test portable to JSON modules that do not support single quotes and bare strings, even on windaz
r52261@windhund (orig r3916):  nothingmuch | 2008-01-03 06:50:52 -0800
changelog
r52263@windhund (orig r3918):  tomboh | 2008-01-07 07:23:15 -0800
Fix class name typo

r52270@windhund (orig r3925):  nigel | 2008-01-11 04:55:17 -0800
Copied documentation for id & discard_charges methods from Pk.pm
into Row.pm as few people think to look in Pk.pm.  Put reference
back to original source.

16 years agomst pointed out that my $val = $obj->{col}; $obj->col(23); print $val; will reflect...
Michael G Schwern [Wed, 16 Jan 2008 05:56:23 +0000]
mst pointed out that my $val = $obj->{col};  $obj->col(23); print $val; will reflect the change because of the deferring.  Using a tied scalar as the value is much, much simpler.

16 years agoAllow CDBI objects to be accessed like hashes as people tend to do for
Michael G Schwern [Wed, 16 Jan 2008 00:23:19 +0000]
Allow CDBI objects to be accessed like hashes as people tend to do for
performance reasons.

16 years agoMerge 'trunk' into 'versioned_enhancements'
Ash Berlin [Fri, 11 Jan 2008 23:45:03 +0000]
Merge 'trunk' into 'versioned_enhancements'

r11889@metis (orig r3897):  wreis | 2007-12-11 01:29:51 +0000
minor doc fix
r12746@metis (orig r3901):  ash | 2007-12-20 11:02:15 +0000
Add proper thaw hooks so schema gets re-attached
r13156@metis (orig r3908):  perigrin | 2008-01-02 20:52:13 +0000
move dbicadmin to JSON::Any
r13157@metis (orig r3909):  semifor | 2008-01-02 22:24:23 +0000
Added Storage::DBI subclass for MSSQL auto PK over ODBC.

r13158@metis (orig r3910):  nothingmuch | 2008-01-03 13:18:36 +0000
failing test for inflate not being triggerred with copy()
r13159@metis (orig r3911):  nothingmuch | 2008-01-03 13:31:49 +0000
test plan
r13160@metis (orig r3912):  nothingmuch | 2008-01-03 13:35:20 +0000
introduce set_inflated_columns
r13161@metis (orig r3913):  nothingmuch | 2008-01-03 13:36:07 +0000
pod coverage for Storage::DBI::ODBC::Microsoft_SQL_Server
r13162@metis (orig r3914):  nothingmuch | 2008-01-03 13:53:00 +0000
dbicadmin printed even when quiet
r13163@metis (orig r3915):  nothingmuch | 2008-01-03 13:54:38 +0000
make the dbicadmin test portable to JSON modules that do not support single quotes and bare strings, even on windaz
r13164@metis (orig r3916):  nothingmuch | 2008-01-03 14:50:52 +0000
changelog
r13166@metis (orig r3918):  tomboh | 2008-01-07 15:23:15 +0000
Fix class name typo

r13173@metis (orig r3925):  nigel | 2008-01-11 12:55:17 +0000
Copied documentation for id & discard_charges methods from Pk.pm
into Row.pm as few people think to look in Pk.pm.  Put reference
back to original source.

16 years agoCopied documentation for id & discard_charges methods from Pk.pm
Nigel Metheringham [Fri, 11 Jan 2008 12:55:17 +0000]
Copied documentation for id & discard_charges methods from Pk.pm
into Row.pm as few people think to look in Pk.pm.  Put reference
back to original source.

16 years agoRestore InflateColumn::File functionality.
Marc Mims [Mon, 7 Jan 2008 19:06:05 +0000]
Restore InflateColumn::File functionality.

16 years agoFix class name typo
Tom Hukins [Mon, 7 Jan 2008 15:23:15 +0000]
Fix class name typo