From: Matt S Trout Date: Tue, 21 Aug 2007 19:56:43 +0000 (+0000) Subject: Merge 'trunk' into 'cdbicompat_integration' X-Git-Tag: v0.08240~541^2~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=01e590ca3d3f936347691406b3f0639e2a6f7dbe Merge 'trunk' into 'cdbicompat_integration' r11194@jules (orig r3695): matthewt | 2007-08-21 19:24:53 +0100 r10460@jules (orig r3640): tomboh | 2007-08-01 12:27:38 +0100 Add an 'on_disconnect_do' argument to DBIx::Class::Storage::DBI::connect_info that, on disconnection, do what 'on_connect_do' does on connection. Currently, this only works if the code explicitly calls disconnect() on the Storage object. While I'm here, make both 'on_connect_do' and 'on_disconnect_do' accept code references as well as strings containing SQL statements. Finally, remove code to call compose_connection() from DBICTest.pm that never gets called any more. r11195@jules (orig r3696): matthewt | 2007-08-21 19:24:57 +0100 r11152@jules (orig r3678): tomboh | 2007-08-15 09:24:32 +0100 Restore code that I removed in revision 3640 that tests still need r11196@jules (orig r3697): matthewt | 2007-08-21 19:25:00 +0100 r11153@jules (orig r3679): tomboh | 2007-08-15 09:25:47 +0100 Let on_connect_do() and on_disconnect_do() take code references. Provide tests and documentation for this. r11197@jules (orig r3698): matthewt | 2007-08-21 19:25:33 +0100 r11199@jules (orig r3700): matthewt | 2007-08-21 19:50:00 +0100 arrayrefs for on_connect_do r11200@jules (orig r3701): matthewt | 2007-08-21 19:53:44 +0100 note on_connect_do changes r11201@jules (orig r3702): matthewt | 2007-08-21 20:17:22 +0100 oracle datetime inflator patch r11202@jules (orig r3703): matthewt | 2007-08-21 20:52:09 +0100 force CDBICompat deps for developers, fix tests to work with latest Class::Trigger --- 01e590ca3d3f936347691406b3f0639e2a6f7dbe