File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{$NEXT}}
22
3+ 0.21 2020-10-29T05:54:05Z
4+ - Add GitHub Actions #38
5+ - Support DBD::MariaDB #39
6+ - Fork safety #40
7+
380.20 2020-09-14T12:15:54Z
49 - Fix tests (Thanks to eseyman) #36
510 - Change license (Thanks to kentfredric) #34
Original file line number Diff line number Diff line change 44 " -2006"
55 ],
66 "dynamic_config" : 0 ,
7- "generated_by" : " Minilla/v3.1.10 , CPAN::Meta::Converter version 2.150010" ,
7+ "generated_by" : " Minilla/v3.1.11 , CPAN::Meta::Converter version 2.150010" ,
88 "license" : [
99 " perl_5"
1010 ],
2525 " builder"
2626 ]
2727 },
28+ "optional_features" : {
29+ "test_fork" : {
30+ "description" : " Test Fork" ,
31+ "prereqs" : {
32+ "runtime" : {
33+ "requires" : {
34+ "DBI" : " 1.614" ,
35+ "POSIX::AtFork" : " 0" ,
36+ "Parallel::ForkManager" : " 0" ,
37+ "Scalar::Util" : " 0" ,
38+ "Test::SharedFork" : " 0"
39+ }
40+ }
41+ }
42+ },
43+ "test_mariadb" : {
44+ "description" : " Test MariaDB" ,
45+ "prereqs" : {
46+ "runtime" : {
47+ "requires" : {
48+ "DBD::MariaDB" : " 0" ,
49+ "SQL::Translator" : " 0" ,
50+ "Test::mysqld" : " 0"
51+ }
52+ }
53+ }
54+ },
55+ "test_mysql" : {
56+ "description" : " Test MySQL" ,
57+ "prereqs" : {
58+ "runtime" : {
59+ "requires" : {
60+ "DBD::mysql" : " 0" ,
61+ "SQL::Translator" : " 0" ,
62+ "Test::mysqld" : " 0"
63+ }
64+ }
65+ }
66+ },
67+ "test_postgresql" : {
68+ "description" : " Test PostgreSQL" ,
69+ "prereqs" : {
70+ "runtime" : {
71+ "requires" : {
72+ "DBD::Pg" : " 0" ,
73+ "SQL::Translator" : " 0" ,
74+ "Test::PostgreSQL" : " 0"
75+ }
76+ }
77+ }
78+ },
79+ "test_sqlite" : {
80+ "description" : " Test SQLite" ,
81+ "prereqs" : {
82+ "runtime" : {
83+ "requires" : {
84+ "DBD::SQLite" : " 0"
85+ }
86+ }
87+ }
88+ }
89+ },
2890 "prereqs" : {
2991 "build" : {
3092 "requires" : {
79141 "web" : " https://github.com/sixapart/data-objectdriver"
80142 }
81143 },
82- "version" : " 0.20 " ,
144+ "version" : " 0.21 " ,
83145 "x_authority" : " cpan:SIXAPART" ,
84146 "x_contributors" : [
85147 " Adam Thomason <athomason@sixapart.com>" ,
Original file line number Diff line number Diff line change @@ -578,6 +578,12 @@ has been added specifically for this purpose: `reuse_dbh`.
578578
579579 1;
580580
581+ # FORK SAFETY
582+
583+ As of version 0.21, _ Data::ObjectDriver_ resets internal database handles
584+ after _ fork(2)_ is called, but only if [ POSIX::AtFork] ( https://metacpan.org/pod/POSIX%3A%3AAtFork ) module is installed.
585+ Otherwise, _ Data::ObjectDriver_ is not fork-safe.
586+
581587# SUPPORTED DATABASES
582588
583589_ Data::ObjectDriver_ is very modular and it's not very difficult to add new drivers.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use Data::ObjectDriver::Iterator;
1111
1212__PACKAGE__ -> mk_accessors(qw( pk_generator txn_active ) );
1313
14- our $VERSION = ' 0.20 ' ;
14+ our $VERSION = ' 0.21 ' ;
1515our $DEBUG = $ENV {DOD_DEBUG } || 0;
1616our $PROFILE = $ENV {DOD_PROFILE } || 0;
1717our $PROFILER ;
You can’t perform that action at this time.
0 commit comments