16 years agoFix test to reflect correct default state for deferrable constraints in SQL::T
Ash Berlin [Mon, 17 Mar 2008 21:56:47 +0000]
Fix test to reflect correct default state for deferrable constraints in SQL::T

16 years agoFix is_deferrable and respcet sqltargs properly
Ash Berlin [Mon, 17 Mar 2008 21:46:07 +0000]
Fix is_deferrable and respcet sqltargs properly

16 years agoSimplify and speed up the accessor_name_for() code.
Michael G Schwern [Sat, 15 Mar 2008 07:13:01 +0000]
Simplify and speed up the accessor_name_for() code.

16 years agoEliminate remaining uses of $self->dbh_do($self->can(...), ...) now that dbh_do can...
Dagfinn Ilmari Mannsåker [Sat, 15 Mar 2008 05:26:05 +0000]
Eliminate remaining uses of $self->dbh_do($self->can(...), ...) now that dbh_do can take a method name

16 years ago$dbh->doe doesn't take (Raise|Print)Error attributes, use eval {} instead.
Dagfinn Ilmari Mannsåker [Sat, 15 Mar 2008 05:20:13 +0000]
$dbh->doe doesn't take (Raise|Print)Error attributes, use eval {} instead.

16 years agoMissing requires of Test::NoWarnings
Michael G Schwern [Sat, 15 Mar 2008 05:08:34 +0000]
Missing requires of Test::NoWarnings

16 years agoReduce the number of times $self->_dbh is called inside dbh_do() to speed
Michael G Schwern [Sat, 15 Mar 2008 05:01:47 +0000]
Reduce the number of times $self->_dbh is called inside dbh_do() to speed
up that hot bit of code.

16 years agoForgot to require Test::Warn
Michael G Schwern [Sat, 15 Mar 2008 05:00:56 +0000]
Forgot to require Test::Warn

16 years agoEliminate expensive calls to can() in some very hot portions of the code by
Michael G Schwern [Sat, 15 Mar 2008 04:55:30 +0000]
Eliminate expensive calls to can() in some very hot portions of the code by
allowing dbh_do() to take a method name.

$obj->$method_name() is about 50% faster then $obj->can($method_name)->().

16 years agoAdd missing method to NoObjectIndex.
Michael G Schwern [Sat, 15 Mar 2008 03:01:57 +0000]
Add missing method to NoObjectIndex.

16 years agoA little performance hack to speed up efficiency. Internal checks that the
Michael G Schwern [Fri, 14 Mar 2008 22:50:04 +0000]
A little performance hack to speed up efficiency.  Internal checks that the
resultset is defined would make a SQL COUNT happen.

16 years agoBetter emulation of add_constructor, unfortunately also slower.
Michael G Schwern [Fri, 14 Mar 2008 03:27:47 +0000]
Better emulation of add_constructor, unfortunately also slower.

16 years agoReorder the accessor_name_for() check to get the more likely one first to
Michael G Schwern [Fri, 14 Mar 2008 03:17:12 +0000]
Reorder the accessor_name_for() check to get the more likely one first to
squeeze a little performance out maybe.

16 years agoImprove add_constructor() support to handle ORDER BY and LIMIT with newlines in
Michael G Schwern [Fri, 14 Mar 2008 03:16:36 +0000]
Improve add_constructor() support to handle ORDER BY and LIMIT with newlines in
the SQL

16 years agoMove has_a() code out of ColumnCase. That should be the last of it.
Michael G Schwern [Fri, 14 Mar 2008 02:01:20 +0000]
Move has_a() code out of ColumnCase.  That should be the last of it.

16 years agoMove code having to do with adding columns out of ColumnCase.
Michael G Schwern [Fri, 14 Mar 2008 01:50:05 +0000]
Move code having to do with adding columns out of ColumnCase.

16 years agoMove the code to create accessors out of ColumnCase and into ColumnGroups.
Michael G Schwern [Fri, 14 Mar 2008 01:41:32 +0000]
Move the code to create accessors out of ColumnCase and into ColumnGroups.
This allows one to remove ColumnCase without effecting other features.

16 years agoFix the skip condition.
Michael G Schwern [Fri, 14 Mar 2008 01:32:02 +0000]
Fix the skip condition.

16 years agoDetabify
Michael G Schwern [Thu, 13 Mar 2008 19:06:48 +0000]
Detabify

16 years agoMake this test depend on having DeepAbstractSearch installed.
Michael G Schwern [Thu, 13 Mar 2008 19:04:13 +0000]
Make this test depend on having DeepAbstractSearch installed.

16 years agoFix podcoverage test for the new SQLTransformer.pm
Michael G Schwern [Thu, 13 Mar 2008 19:03:40 +0000]
Fix podcoverage test for the new SQLTransformer.pm

16 years agoDocument that DeepAbstractSearch will work.
Michael G Schwern [Thu, 13 Mar 2008 18:54:22 +0000]
Document that DeepAbstractSearch will work.

16 years agoMake Class::DBI::Plugin::DeepAbstractSearch work.
Michael G Schwern [Thu, 13 Mar 2008 18:52:14 +0000]
Make Class::DBI::Plugin::DeepAbstractSearch work.

This required reordering the relationship declarations in the tests to fit
the limitations of CDBICompat.  Also fixing the behavior of sth_to_objects()
and transform_sql().

16 years agoTest lazy loading with a deleted object.
Michael G Schwern [Thu, 13 Mar 2008 18:50:32 +0000]
Test lazy loading with a deleted object.

16 years agoTest the behavior of construct() with temp columns.
Michael G Schwern [Thu, 13 Mar 2008 18:49:57 +0000]
Test the behavior of construct() with temp columns.

16 years agoFix lazy loading when the object has been deleted
Michael G Schwern [Wed, 12 Mar 2008 21:29:58 +0000]
Fix lazy loading when the object has been deleted

16 years agoMerge 'oracle_sequence' into 'trunk'
Matt S Trout [Tue, 11 Mar 2008 20:40:12 +0000]
Merge 'oracle_sequence' into 'trunk'

16 years agoMake throw_exception in RS a bit more forgiving too
Ash Berlin [Tue, 11 Mar 2008 15:10:50 +0000]
Make throw_exception in RS a bit more forgiving too

16 years agoFix errors from resultset components (and move tests into t/90ensure_class_loaded...
Ash Berlin [Tue, 11 Mar 2008 15:03:34 +0000]
Fix errors from resultset components (and move tests into t/90ensure_class_loaded since its testing same sort of things)

16 years agotest to make sure the errors in components of resultset classes are reported right.
Ash Berlin [Tue, 11 Mar 2008 14:38:10 +0000]
test to make sure the errors in components of resultset classes are reported right.

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.