90 Commits

Author SHA256 Message Date
046a503e5e Accepting request 1239746 from devel:languages:perl
- updated to 1.647.0 (1.647)
   see /usr/share/doc/packages/perl-DBI/ChangeLog (forwarded request 1239663 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1239746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=55
2025-01-24 12:38:19 +00:00
51523ff818 Accepting request 1237723 from devel:languages:perl
- updated to 1.646.0 (1.646)
   see /usr/share/doc/packages/perl-DBI/Changes
  1.646 - 2025-01-11, H.Merijn Brand
      * Remove "experimental" tag from statistics_info () (issue#134)
      * RT tickets moved to github issues (rwfranks++)
        - All RT tickets now marked as resolved with reference to GitHub issue
      * Fix install issue (issue #168) (forwarded request 1237593 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1237723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=54
2025-01-15 16:42:09 +00:00
b93142760d - updated to 1.646.0 (1.646)
see /usr/share/doc/packages/perl-DBI/Changes
  1.646 - 2025-01-11, H.Merijn Brand
      * Remove "experimental" tag from statistics_info () (issue#134)
      * RT tickets moved to github issues (rwfranks++)
        - All RT tickets now marked as resolved with reference to GitHub issue
      * Fix install issue (issue #168)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=71
2025-01-14 10:43:59 +00:00
5bb4caa765 Accepting request 1236807 from devel:languages:perl
- Remove perl-DBI-CVE-2014-10402.patch (fixed upstream)
- updated to 1.645.0 (1.645)
   see /usr/share/doc/packages/perl-DBI/Changes (forwarded request 1236685 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1236807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=53
2025-01-12 10:08:35 +00:00
ed5d879078 - Remove perl-DBI-CVE-2014-10402.patch (fixed upstream)
- updated to 1.645.0 (1.645)
   see /usr/share/doc/packages/perl-DBI/Changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=69
2025-01-10 09:29:57 +00:00
20255fbf84 Accepting request 1181947 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1181947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=52
2024-06-21 14:02:37 +00:00
72e24bdfa8 Mention upstream security fixes in 1.164
* Security fix: [bsc#1176764, CVE-2019-20919]
    * NULL profile de-reference in dbi_profile()
  * Security fix: [bsc#1176409, CVE-2020-14393]
    * CVE-2020-14393: Buffer overflow on an overlong DBD class name
  * Security fix: [bsc#1176412, CVE-2020-14392]
    * CVE-2020-14392: Memory corruption in XS functions when Perl
      stack is reallocated

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=67
2024-06-20 13:41:57 +00:00
1dbbedc0ed Accepting request 1155433 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1155433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=51
2024-03-07 17:27:32 +00:00
f08ecbb265 Accepting request 1154660 from home:pgajdos:p
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1154660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=65
2024-03-06 07:45:40 +00:00
7925dd5882 Accepting request 845984 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/845984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=50
2020-11-06 22:42:53 +00:00
8852c46ab7 Accepting request 845974 from home:pmonrealgonzalez:branches:devel:languages:perl
- Security fix [bsc#1176492, CVE-2014-10401, CVE-2014-10402]
  * DBD::File drivers can open files from folders other than those
    specifically passed via the f_dir attribute in the data source
    name (DSN).
- Add perl-DBI-CVE-2014-10402.patch

OBS-URL: https://build.opensuse.org/request/show/845974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=63
2020-11-04 13:46:39 +00:00
001d9f8043 Accepting request 769382 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/769382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=49
2020-02-06 12:05:57 +00:00
d5a74f097b Accepting request 769286 from devel:languages:perl:autoupdate
- updated to 1.643
   see /usr/share/doc/packages/perl-DBI/Changes

OBS-URL: https://build.opensuse.org/request/show/769286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=61
2020-02-02 19:20:24 +00:00
f51ab9b932 Accepting request 732740 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/732740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=48
2019-09-30 13:49:37 +00:00
cf505e256c Accepting request 732669 from home:pmonrealgonzalez:branches:devel:languages:perl
- Fix invalid utf-8 encoding in Changelogtext

          [Dagfinn Ilmari]
      Fixed use of \Q vs \E in t/70callbacks.t

OBS-URL: https://build.opensuse.org/request/show/732669
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=59
2019-09-23 13:15:13 +00:00
f8dc3dbb72 Accepting request 647273 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/647273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=47
2018-11-13 15:25:51 +00:00
0fffabb552 Accepting request 647179 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/647179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=57
2018-11-08 09:49:28 +00:00
47e1692276 Accepting request 589693 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/589693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=46
2018-03-24 15:07:56 +00:00
4e98a221a6 Accepting request 588887 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/588887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=55
2018-03-21 10:08:58 +00:00
ab93876cee Accepting request 573774 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/573774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=45
2018-02-10 16:53:56 +00:00
Stephan Kulow
75658e4e1b Accepting request 573746 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/573746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=53
2018-02-07 15:54:58 +00:00
bf88c0d877 Accepting request 561822 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/561822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=44
2018-01-09 13:34:48 +00:00
111c62de0a Accepting request 560485 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/560485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=51
2018-01-05 10:06:17 +00:00
6c29c27d3b Accepting request 519301 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/519301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=43
2017-09-04 10:18:31 +00:00
a8ed7832bc Accepting request 517454 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/517454
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=49
2017-08-29 09:59:35 +00:00
776596ec1b Accepting request 397863 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/397863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=42
2016-06-03 14:34:23 +00:00
Stephan Kulow
1ccdbdd4f2 Accepting request 397434 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/397434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=47
2016-05-25 07:49:52 +00:00
2c57659980 Accepting request 332268 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/332268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=41
2015-10-01 07:27:27 +00:00
Stephan Kulow
1e3760091d Accepting request 332264 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/332264
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=45
2015-09-20 16:08:07 +00:00
10847aedc9 Accepting request 297870 from devel:languages:perl
- updated to 1.633
   see /usr/share/doc/packages/perl-DBI/Changes
  =head2 Changes in DBI 1.633 - 11th Jan 2015
  
      Fixed selectrow_*ref to return undef on error in list context
          instead if an empty list.
      Changed t/42prof_data.t more informative
      Changed $sth->{TYPE} to be NUMERIC in DBD::File drivers as per the
          DBI docs. Note TYPE_NAME is now also available. [H.Merijn Brand]
      Fixed compilation error on bleadperl due DEFSV no longer being an lvalue
          [Dagfinn Ilmari Mannsåker]
  
      Added docs for escaping placeholders using a backslash.
      Added docs for get_info(9000) indicating ability to escape placeholders.
      Added multi_ prefix for DBD::Multi (Dan Wright) and ad2_ prefix for
          DBD::AnyData2
  
  =head2 Changes in DBI 1.632 - 9th Nov 2014
  
      Fixed risk of memory corruption with many arguments to methods
          originally reported by OSCHWALD for Callbacks but may apply
          to other functionality in DBI method dispatch RT#86744.
      Fixed DBD::PurePerl to not set $sth->{Active} true by default
          drivers are expected to set it true as needed.
      Fixed DBI::DBD::SqlEngine to complain loudly when prerequite
          driver_prefix is not fulfilled (RT#93204) [Jens Rehsack]
      Fixed redundant sprintf argument warning RT#97062 [Reini Urban]
      Fixed security issue where DBD::File drivers would open files
          from folders other than specifically passed using the
          f_dir attribute RT#99508 [H.Merijn Brand]

OBS-URL: https://build.opensuse.org/request/show/297870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=40
2015-04-21 23:14:14 +00:00
Stephan Kulow
042fdf7d82 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=43
2015-04-18 05:45:42 +00:00
Stephan Kulow
ac00cab1dd Accepting request 297210 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/297210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=42
2015-04-16 17:14:38 +00:00
Stephan Kulow
c1ebff6942 Accepting request 184911 from devel:languages:perl
- updated to 1.628
    Fixed missing fields on partial insert via DBI::DBD::SqlEngine
        engines (DBD::CSV, DBD::DBM etc.) [H.Merijn Brand, Jens Rehsack]
    Fixed stack corruption on callbacks RT#85562 RT#84974 [Aaron Schweiger]
    Fixed DBI::SQL::Nano_::Statement handling of "0" [Jens Rehsack]
    Fixed exit op precedence in test RT#87029 [Reni Urban]
    Added support for finding tables in multiple directories
        via new DBD::File f_dir_search attribute [H.Merijn Brand]
    Enable compiling by C++ RT#84285 [Kurt Jaeger]
    Typo fixes in pod and comment [David Steinbrunner]
    Change DBI's docs to refer to git not svn [H.Merijn Brand]
    Clarify bind_col TYPE attribute is sticky [Martin J. Evans]
    Fixed reference to $sth in selectall_arrayref docs RT#84873
    Spelling fixes [Ville Skytt344]
    Changed $VERSIONs to hardcoded strings [H.Merijn Brand]

OBS-URL: https://build.opensuse.org/request/show/184911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=37
2013-07-30 09:47:55 +00:00
Stephan Kulow
da85605f52 - updated to 1.628
Fixed missing fields on partial insert via DBI::DBD::SqlEngine
        engines (DBD::CSV, DBD::DBM etc.) [H.Merijn Brand, Jens Rehsack]
    Fixed stack corruption on callbacks RT#85562 RT#84974 [Aaron Schweiger]
    Fixed DBI::SQL::Nano_::Statement handling of "0" [Jens Rehsack]
    Fixed exit op precedence in test RT#87029 [Reni Urban]
    Added support for finding tables in multiple directories
        via new DBD::File f_dir_search attribute [H.Merijn Brand]
    Enable compiling by C++ RT#84285 [Kurt Jaeger]
    Typo fixes in pod and comment [David Steinbrunner]
    Change DBI's docs to refer to git not svn [H.Merijn Brand]
    Clarify bind_col TYPE attribute is sticky [Martin J. Evans]
    Fixed reference to $sth in selectall_arrayref docs RT#84873
    Spelling fixes [Ville Skytt344]
    Changed $VERSIONs to hardcoded strings [H.Merijn Brand]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=40
2013-07-30 05:20:43 +00:00
Stephan Kulow
c322769a90 Accepting request 179130 from devel:languages:perl
- updated to 1.627
   Fixed VERSION regression in DBI::SQL::Nano [Tim Bunce]
   Fixed pod text/link was reversed in a few cases RT#85168
   Handle aliasing of STORE'd attributes in DBI::DBD::SqlEngine
   Updated repository URI to git [Jens Rehsack]
   Fixed skip() count arg in t/48dbi_dbd_sqlengine.t [Tim Bunce]
   Fixed heap-use-after-free during global destruction RT#75614
     thanks to Reini Urban.
   Fixed ignoring RootClass attribute during connect() by
     DBI::DBD::SqlEngine reported in RT#84260 by Michael Schout
 
   Fixed Gofer for hash randomization in perl 5.17.10+ RT#84146
 
   Clarify docs for can() re RT#83207
 
   Fixed RT#64330 - ping wipes out errstr (Martin J. Evans).
   Fixed RT#75868 - DBD::Proxy shouldn't call connected() on the server.
   Fixed RT#80474 - segfault in DESTROY with threads.
   Fixed RT#81516 - Test failures due to hash randomisation in perl 5.17.6
     thanks to Jens Rehsack and H.Merijn Brand and feedback on IRC
   Fixed RT#81724 - Handle copy-on-write scalars (sprout)
   Fixed unused variable / self-assignment compiler warnings.
   Fixed default table_info in DBI::DBD::SqlEngine which passed NAMES
     attribute instead of NAME to DBD::Sponge RT72343 (Martin J. Evans)
 
   Corrected a spelling error thanks to Chris Sanders.
   Corrected typo in DBI->installed_versions docs RT#78825
     thanks to Jan Dubois.
 
   Refactored table meta information management from DBD::File into

OBS-URL: https://build.opensuse.org/request/show/179130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=36
2013-06-20 09:49:44 +00:00
Stephan Kulow
619debc333 - updated to 1.627
Fixed VERSION regression in DBI::SQL::Nano [Tim Bunce]
   Fixed pod text/link was reversed in a few cases RT#85168
   Handle aliasing of STORE'd attributes in DBI::DBD::SqlEngine
   Updated repository URI to git [Jens Rehsack]
   Fixed skip() count arg in t/48dbi_dbd_sqlengine.t [Tim Bunce]
   Fixed heap-use-after-free during global destruction RT#75614
     thanks to Reini Urban.
   Fixed ignoring RootClass attribute during connect() by
     DBI::DBD::SqlEngine reported in RT#84260 by Michael Schout
 
   Fixed Gofer for hash randomization in perl 5.17.10+ RT#84146
 
   Clarify docs for can() re RT#83207
 
   Fixed RT#64330 - ping wipes out errstr (Martin J. Evans).
   Fixed RT#75868 - DBD::Proxy shouldn't call connected() on the server.
   Fixed RT#80474 - segfault in DESTROY with threads.
   Fixed RT#81516 - Test failures due to hash randomisation in perl 5.17.6
     thanks to Jens Rehsack and H.Merijn Brand and feedback on IRC
   Fixed RT#81724 - Handle copy-on-write scalars (sprout)
   Fixed unused variable / self-assignment compiler warnings.
   Fixed default table_info in DBI::DBD::SqlEngine which passed NAMES
     attribute instead of NAME to DBD::Sponge RT72343 (Martin J. Evans)
 
   Corrected a spelling error thanks to Chris Sanders.
   Corrected typo in DBI->installed_versions docs RT#78825
     thanks to Jan Dubois.
 
   Refactored table meta information management from DBD::File into

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=38
2013-06-16 06:51:36 +00:00
Stephan Kulow
ab9d0a9c1d Accepting request 103903 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=33
2012-02-14 12:08:39 +00:00
Vítězslav Čížek
449e37106c - update to 1.617
NOTE: The officially supported minimum perl version will change
  from perl 5.8.1 (2003) to perl 5.8.3 (2004) in a future release.
  (The last change, from perl 5.6 to 5.8.1, was announced
  in July 2008 and implemented in DBI 1.611 in April 2010.)
  Fixed ParamTypes example in the pod (Martin J. Evans)
  Fixed the definition of ArrayTupleStatus and remove confusion over
    rows affected in list context of execute_array (Martin J. Evans)
  Fixed sql_type_cast example and typo in errors (Martin J. Evans)
  Fixed Gofer error handling for keeperr methods like ping (Tim Bunce)
  Fixed $dbh->clone({}) RT73250 (Tim Bunce)
  Fixed is_nested_call logic error RT73118 (Reini Urban)
  Enhanced performance for threaded perls (Dave Mitchell, Tim Bunce)
  Enhanced and standardized driver trace level mechanism (Tim Bunce)
  Removed old code that was an inneffective attempt to detect
    people doing DBI->{Attrib}.
  Clear ParamValues on bind_param param count error RT66127 (Tim Bunce)
  Changed DBI::ProxyServer to require DBI at compile-time RT62672 (Tim Bunce)
  Added pod for default_user to DBI::DBD (Martin J. Evans)
  Added CON, ENC and DBD trace flags and extended 09trace.t (Martin J. Evans)
  Added TXN trace flags and applied CON and TXN to relevant methods (Tim Bunce)
  Added some more fetchall_arrayref(..., $maxrows) tests (Tim Bunce)
  Clarified docs for fetchall_arrayref called on an inactive handle.
  Clarified docs for clone method (Tim Bunce)
  Added note to DBI::Profile about async queries (Marcel Grunauer).
  Reserved spatialite_ as a driver prefix for DBD::Spatialite
  Reserved mo_ as a driver prefix for DBD::MO
  Updated link to the SQL Reunion 95 docs, RT69577 (Ash Daminato)
  Changed links for DBI recipes. RT73286 (Martin J. Evans)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=35
2012-02-02 12:38:33 +00:00
Stephan Kulow
2543ed3405 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=32
2011-12-06 17:40:18 +00:00
OBS User buildservice-autocommit
72a286da10 Updating link to change in openSUSE:Factory/perl-DBI revision 32.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=5f65b374ab44a774a583b18c394b0e19
2011-12-06 17:40:18 +00:00
Stephan Kulow
6c0065d1ff Accepting request 92280 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=31
2011-11-21 11:38:50 +00:00
Stephan Kulow
7e0f10efdf use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=32
2011-11-18 11:40:58 +00:00
Stephan Kulow
11cfb2e755 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=31
2011-11-17 15:25:34 +00:00
Stephan Kulow
f2e87e9f36 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=29 2011-11-11 11:15:19 +00:00
Berthold Gunreben
9e263783bf Autobuild autoformatter for 57791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=28
2011-01-12 08:36:28 +00:00
Berthold Gunreben
56252b2381 Accepting request 57791 from devel:languages:perl
Accepted submit request 57791 from user vitezslav_cizek

OBS-URL: https://build.opensuse.org/request/show/57791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=27
2011-01-12 08:36:17 +00:00
Vítězslav Čížek
a90a28f5d8 * Fixed RT#61513 by catching attribute assignment to tied table access
interface (Jens Rehsack)
 * Fixed compiler warnings RT#62640
 * Optimized connect() to remove redundant FETCH of \%attrib values.
  Improved initialization phases in DBI::DBD::SqlEngine (Jens Rehsack)
 * Added DBD::Gofer::Transport::corostream. An experimental proof-of-concept
    transport that enables asynchronous database calls with few code changes.
    It enables asynchronous use of DBI frameworks like DBIx::Class.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=27
2011-01-11 09:21:09 +00:00
Vítězslav Čížek
5a0f2d512e - update to 1.616
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=26
2011-01-07 15:18:22 +00:00
7b2aa0ba26 Autobuild autoformatter for 55706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=26
2010-12-13 11:47:46 +00:00
OBS User buildservice-autocommit
2faea49c44 Updating link to change in openSUSE:Factory/perl-DBI revision 26.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=81cde58942a1336544a9f715fc47d81f
2010-12-13 11:47:46 +00:00
999f681a93 Accepting request 55706 from devel:languages:perl
Accepted submit request 55706 from user coolo

OBS-URL: https://build.opensuse.org/request/show/55706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=25
2010-12-13 11:47:36 +00:00
Stephan Kulow
52689a4967 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=24
2010-12-03 14:02:13 +00:00
Stephan Kulow
6ef9d5582d siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=23
2010-12-01 13:43:12 +00:00
Stephan Kulow
7f17fc70e4 - do not use recommends on fedora
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=22
2010-11-30 13:15:46 +00:00
OBS User autobuild
cc8e0e2c5f Accepting request 49570 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 49570 from user anicka

OBS-URL: https://build.opensuse.org/request/show/49570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=24
2010-10-01 22:10:17 +00:00
OBS User buildservice-autocommit
29af51341e Updating link to change in openSUSE:Factory/perl-DBI revision 24.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=3343084c9728979f7e3d1084c4562b15
2010-10-01 22:10:17 +00:00
OBS User autobuild
7bbaab0a68 Accepting request 49570 from devel:languages:perl
checked in (request 49570)

OBS-URL: https://build.opensuse.org/request/show/49570
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=21
2010-10-01 22:10:15 +00:00
Anna Maresova
0921747093 - update to 1.615
* bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=20
2010-09-30 14:36:56 +00:00
OBS User autobuild
4b1e094837 Accepting request 48604 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 48604 from user anicka

OBS-URL: https://build.opensuse.org/request/show/48604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=23
2010-09-21 10:11:11 +00:00
OBS User buildservice-autocommit
5624f13b80 Updating link to change in openSUSE:Factory/perl-DBI revision 23.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=97eb1639518474e3329bbebb931a02ad
2010-09-21 10:11:11 +00:00
Anna Maresova
300e9d4225 - update to 1.614
* Added $h->{AutoInactiveDestroy} as simpler safer form of
   $h->{InactiveDestroy}
 * Added ability for parallel testing "prove -j4 ..."
 * Added tests for delete in DBM
 * Added test for absolute filename as table to 51dbm_file
 * Added two initialization phases to DBI::DBD::SqlEngine
 * Added improved developers documentation for DBI::DBD::SqlEngine
 * Added guides how to write DBI drivers using DBI::DBD::SqlEngine
   or DBD::File 
 * Added register_compat_map() and table_meta_attr_changed() to
   DBD::File::Table
 * bugfixes, test fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=18
2010-09-21 08:16:12 +00:00
OBS User autobuild
8e5e32e0ec Accepting request 44737 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 44737 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/44737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=22
2010-08-09 00:12:48 +00:00
OBS User buildservice-autocommit
441d7c77ad Updating link to change in openSUSE:Factory/perl-DBI revision 22.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=74b26a91da0b88538f584a1bc2b05a2c
2010-08-09 00:12:48 +00:00
OBS User autobuild
e3bafd9f65 Accepting request 44737 from devel:languages:perl
checked in (request 44737)

OBS-URL: https://build.opensuse.org/request/show/44737
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=17
2010-08-09 00:12:47 +00:00
Christian Wittmer
ae99031d7f Accepting request 44736 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-DBI via accept of submit request 44736 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/44736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=16
2010-08-06 14:15:17 +00:00
OBS User autobuild
656a3f0413 Accepting request 43513 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 43513 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/43513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=21
2010-07-20 18:39:25 +00:00
OBS User buildservice-autocommit
a2b9a8c9ee Updating link to change in openSUSE:Factory/perl-DBI revision 21.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=613af4c64f21e6e88d70013695ed50ba
2010-07-20 18:39:25 +00:00
OBS User autobuild
ca17d2e8f4 Accepting request 43513 from devel:languages:perl
checked in (request 43513)

OBS-URL: https://build.opensuse.org/request/show/43513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=15
2010-07-20 18:39:24 +00:00
Christian Wittmer
a3471de01f Accepting request 43512 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-DBI via accept of submit request 43512 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/43512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=14
2010-07-20 13:36:13 +00:00
OBS User autobuild
e519e5bdb6 Accepting request 43337 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 43337 from user anicka

OBS-URL: https://build.opensuse.org/request/show/43337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=20
2010-07-19 18:47:59 +00:00
OBS User autobuild
84e14e7194 Accepting request 43313 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 43313 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/43313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=19
2010-07-19 18:45:52 +00:00
Anna Maresova
085c281a85 - update to 1.612
* Changed Makefile.PL to modernize with CONFLICTS, recommended 
   dependencies and resources (Jens Rehsack)
 * Changed DBI::ProfileDumper to rename any existing profile file by
    appending .prev, instead of overwriting it.
 * Changed DBI::ProfileDumper::Apache to work in more configurations
    including vhosts using PerlOptions +Parent.
 * Add driver_prefix method to DBI (Jens Rehsack)
 * bugfixes, test fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=12
2010-07-19 13:31:50 +00:00
Christian Wittmer
3bea365e7b pkg split DBI, DBI_1_609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=11
2010-06-22 19:25:16 +00:00
Christian Wittmer
58b7fc607d Accepting request 41005 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-DBI via accept of submit request 41005 revision 3.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/41005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=10
2010-06-02 14:50:02 +00:00
OBS User autobuild
1954c14d0c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=16 2010-03-18 15:16:56 +00:00
OBS User buildservice-autocommit
5a576712e3 Updating link to change in openSUSE:Factory/perl-DBI revision 16.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=38d164b43f6b8744a78cc986dd9b6e62
2010-03-18 15:16:56 +00:00
OBS User autobuild
07950d1351 Accepting request 29295 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 29295 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=15
2010-01-12 10:45:02 +00:00
OBS User autobuild
5512152022 Accepting request 28385 from devel:languages:perl
Copy from devel:languages:perl/perl-DBI based on submit request 28385 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=14
2010-01-11 15:20:48 +00:00
OBS User unknown
0be05513c7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=12 2009-07-27 20:13:22 +00:00
OBS User unknown
db71bde0ca OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=11 2009-05-18 23:27:49 +00:00
OBS User unknown
072f3a3f82 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=10 2008-07-25 14:59:23 +00:00
OBS User unknown
fe2f3b42d1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=9 2008-06-30 17:04:12 +00:00
OBS User unknown
f36735f4df OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=8 2008-03-26 15:28:30 +00:00
OBS User unknown
9b14815095 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=7 2008-02-22 00:43:38 +00:00
OBS User unknown
dea2124b34 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=6 2007-11-02 00:36:16 +00:00
OBS User unknown
9bcba26046 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=5 2007-10-08 10:26:58 +00:00
OBS User unknown
fd8b4a763b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=4 2007-07-04 23:22:28 +00:00
OBS User unknown
836a6452ef OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=3 2007-06-14 13:48:59 +00:00
OBS User unknown
d7c02d3683 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=2 2007-02-26 12:20:36 +00:00
OBS User unknown
8ee8d6e1fb OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBI?expand=0&rev=1 2007-01-15 23:30:21 +00:00
4 changed files with 0 additions and 266 deletions

BIN
DBI-1.643.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e38b7a5efee129decda12383cf894963da971ffac303f54cc1b93e40e3cf9921
size 728223

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53ab32ac8c30295a776dde658df22be760936cdca5a3c003a23bda6d829fa184
size 729450

View File

@@ -1,257 +0,0 @@
From 32398bff24f054f4e9b48b97ecb70ce72267296c Mon Sep 17 00:00:00 2001
From: Jens Rehsack <sno@netbsd.org>
Date: Tue, 6 Oct 2020 06:50:37 +0200
Subject: [PATCH 1/3] DBD/File,DBI/DBD/SqlEngine: bump copyright year
Bump copyright years for both since there has been done work in meantime ...
including intended f_dir= fix for CVE-2014-10401
Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
lib/DBD/File.pm | 4 ++--
lib/DBI/DBD/SqlEngine.pm | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/DBD/File.pm b/lib/DBD/File.pm
index dd4312b..fb14e9a 100644
--- a/lib/DBD/File.pm
+++ b/lib/DBD/File.pm
@@ -9,7 +9,7 @@
#
# The original author is Jochen Wiedmann.
#
-# Copyright (C) 2009-2013 by H.Merijn Brand & Jens Rehsack
+# Copyright (C) 2009-2020 by H.Merijn Brand & Jens Rehsack
# Copyright (C) 2004 by Jeff Zucker
# Copyright (C) 1998 by Jochen Wiedmann
#
@@ -1430,7 +1430,7 @@ The original author is Jochen Wiedmann.
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2009-2013 by H.Merijn Brand & Jens Rehsack
+ Copyright (C) 2009-2020 by H.Merijn Brand & Jens Rehsack
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
diff --git a/lib/DBI/DBD/SqlEngine.pm b/lib/DBI/DBD/SqlEngine.pm
index fb755ab..8e933f7 100644
--- a/lib/DBI/DBD/SqlEngine.pm
+++ b/lib/DBI/DBD/SqlEngine.pm
@@ -9,7 +9,7 @@
#
# The original author is Jochen Wiedmann.
#
-# Copyright (C) 2009-2013 by H.Merijn Brand & Jens Rehsack
+# Copyright (C) 2009-2020 by H.Merijn Brand & Jens Rehsack
# Copyright (C) 2004 by Jeff Zucker
# Copyright (C) 1998 by Jochen Wiedmann
#
@@ -2216,7 +2216,7 @@ The original authors are Jochen Wiedmann and Jeff Zucker.
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2009-2013 by H.Merijn Brand & Jens Rehsack
+ Copyright (C) 2009-2020 by H.Merijn Brand & Jens Rehsack
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
From 27b10b5c3aacabc091046beaba478e671bb6111c Mon Sep 17 00:00:00 2001
From: Jens Rehsack <sno@netbsd.org>
Date: Tue, 6 Oct 2020 08:23:55 +0200
Subject: [PATCH 2/3] t/51dbm_file.t: add test from RT#99508
Add test with f_dir="something-not-existing" as reported in RT#99508
to verify when it's fixed for real.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
t/51dbm_file.t | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/t/51dbm_file.t b/t/51dbm_file.t
index d9824cf..686a3d2 100644
--- a/t/51dbm_file.t
+++ b/t/51dbm_file.t
@@ -15,6 +15,27 @@ use DBI;
do "./t/lib.pl";
+{
+ # test issue reported in RT#99508
+ my @msg;
+ eval {
+ local $SIG{__DIE__} = sub { push @msg, @_ };
+ my $dbh = DBI->connect ("dbi:DBM:f_dir=./hopefully-doesnt-existst;sql_identifier_case=1;RaiseError=1");
+ };
+ like ("@msg", qr{.*hopefully-doesnt-existst.*}, "Cannot open from non-existing directory with attributes in DSN");
+
+ @msg = ();
+ eval {
+ local $SIG{__DIE__} = sub { push @msg, @_ };
+ my $dbh = DBI->connect ("dbi:DBM:", , undef, undef, {
+ f_dir => "./hopefully-doesnt-existst",
+ sql_identifier_case => 1,
+ RaiseError => 1,
+ });
+ };
+ like ("@msg", qr{.*hopefully-doesnt-existst}, "Cannot open from non-existing directory with attributes in HASH");
+}
+
my $dir = test_dir();
my $dbh = DBI->connect( 'dbi:DBM:', undef, undef, {
@@ -23,6 +44,8 @@ my $dbh = DBI->connect( 'dbi:DBM:', undef, undef, {
}
);
+ok( $dbh, "Connect with driver attributes in hash" );
+
ok( $dbh->do(q/drop table if exists FRED/), 'drop table' );
my $dirfext = $^O eq 'VMS' ? '.sdbm_dir' : '.dir';
From 19d0fb169eed475e1c053e99036b8668625cfa94 Mon Sep 17 00:00:00 2001
From: Jens Rehsack <sno@netbsd.org>
Date: Tue, 6 Oct 2020 10:22:17 +0200
Subject: [PATCH 3/3] lib/DBD/File.pm: fix CVE-2014-10401
Dig into the root cause of RT#99508 - which resulted in CVE-2014-10401 - and
figure out that DBI->parse_dsn is the wrong helper to parse our attributes in
DSN, since in DBD::dr::connect only the "dbname" remains from DSN which causes
parse_dsn to bailout.
Parsing on our own similar to parse_dsn shows the way out.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
lib/DBD/File.pm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/DBD/File.pm b/lib/DBD/File.pm
index fb14e9a..f55076f 100644
--- a/lib/DBD/File.pm
+++ b/lib/DBD/File.pm
@@ -109,7 +109,11 @@ sub connect
# We do not (yet) care about conflicting attributes here
# my $dbh = DBI->connect ("dbi:CSV:f_dir=test", undef, undef, { f_dir => "text" });
# will test here that both test and text should exist
- if (my $attr_hash = (DBI->parse_dsn ($dbname))[3]) {
+ #
+ # Parsing on our own similar to parse_dsn to find attributes in 'dbname' parameter.
+ if ($dbname) {
+ my @attrs = split /;/ => $dbname;
+ my $attr_hash = { map { split /\s*=>?\s*|\s*,\s*/, $_} @attrs };
if (defined $attr_hash->{f_dir} && ! -d $attr_hash->{f_dir}) {
my $msg = "No such directory '$attr_hash->{f_dir}";
$drh->set_err (2, $msg);
@@ -120,7 +124,6 @@ sub connect
if ($attr and defined $attr->{f_dir} && ! -d $attr->{f_dir}) {
my $msg = "No such directory '$attr->{f_dir}";
$drh->set_err (2, $msg);
- $attr->{RaiseError} and croak $msg;
return;
}
From c71b64a678bcd708c7b75ee2bef5a360c836444c Mon Sep 17 00:00:00 2001
From: "H.Merijn Brand - Tux" <linux@tux.freedom.nl>
Date: Wed, 28 Oct 2020 15:57:17 +0100
Subject: [PATCH] Document the new behavior for f_dir
These changes also warrant a version increase
---
lib/DBD/File.pm | 5 +++++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/lib/DBD/File.pm b/lib/DBD/File.pm
index baffefa..afbff26 100644
--- a/lib/DBD/File.pm
+++ b/lib/DBD/File.pm
@@ -1062,6 +1062,11 @@ directory) when the dbh attribute is set.
f_dir => "/data/foo/csv",
+If C<f_dir> is set to a non-existing location, the connection will fail.
+See CVE-2014-10401 for reasoning. Because of this, folders to use cannot
+be created after the connection, but must exist before the connection is
+initiated.
+
See L<KNOWN BUGS AND LIMITATIONS>.
=head4 f_dir_search
From 89f0d4cd38b83f0ee426a5fdf7d1ad5ea371c883 Mon Sep 17 00:00:00 2001
From: "H.Merijn Brand - Tux" <linux@tux.freedom.nl>
Date: Wed, 28 Oct 2020 15:03:48 +0100
Subject: [PATCH] Fix for empty attributes in DSN
dbm_type=SDBM_File;dbm_mldbm=;f_lockfile=.lck'
^
would result in
Odd number of elements in anonymous hash
---
lib/DBD/File.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/DBD/File.pm b/lib/DBD/File.pm
index f55076f..baffefa 100644
--- a/lib/DBD/File.pm
+++ b/lib/DBD/File.pm
@@ -112,8 +112,9 @@ sub connect
#
# Parsing on our own similar to parse_dsn to find attributes in 'dbname' parameter.
if ($dbname) {
- my @attrs = split /;/ => $dbname;
- my $attr_hash = { map { split /\s*=>?\s*|\s*,\s*/, $_} @attrs };
+ my $attr_hash = {
+ map { (m/^\s* (\S+) \s*(?: =>? | , )\s* (\S*) \s*$/x) }
+ split m/;/ => $dbname };
if (defined $attr_hash->{f_dir} && ! -d $attr_hash->{f_dir}) {
my $msg = "No such directory '$attr_hash->{f_dir}";
$drh->set_err (2, $msg);
From 2eda0ec996d0a9357885acd442c72ac206adb7b3 Mon Sep 17 00:00:00 2001
From: "H.Merijn Brand - Tux" <linux@tux.freedom.nl>
Date: Wed, 28 Oct 2020 15:09:01 +0100
Subject: [PATCH] Catch warning
---
t/51dbm_file.t | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/t/51dbm_file.t b/t/51dbm_file.t
index 686a3d2..0ae910c 100644
--- a/t/51dbm_file.t
+++ b/t/51dbm_file.t
@@ -18,21 +18,25 @@ do "./t/lib.pl";
{
# test issue reported in RT#99508
my @msg;
- eval {
- local $SIG{__DIE__} = sub { push @msg, @_ };
- my $dbh = DBI->connect ("dbi:DBM:f_dir=./hopefully-doesnt-existst;sql_identifier_case=1;RaiseError=1");
+ my $dbh = eval {
+ local $SIG{__WARN__} = sub { push @msg, @_ };
+ local $SIG{__DIE__} = sub { push @msg, @_ };
+ DBI->connect ("dbi:DBM:f_dir=./hopefully-doesnt-existst;sql_identifier_case=1;RaiseError=1");
};
+ is ($dbh, undef, "Connect failed");
like ("@msg", qr{.*hopefully-doesnt-existst.*}, "Cannot open from non-existing directory with attributes in DSN");
@msg = ();
- eval {
- local $SIG{__DIE__} = sub { push @msg, @_ };
- my $dbh = DBI->connect ("dbi:DBM:", , undef, undef, {
+ $dbh = eval {
+ local $SIG{__WARN__} = sub { push @msg, @_ };
+ local $SIG{__DIE__} = sub { push @msg, @_ };
+ DBI->connect ("dbi:DBM:", , undef, undef, {
f_dir => "./hopefully-doesnt-existst",
sql_identifier_case => 1,
RaiseError => 1,
});
};
+ is ($dbh, undef, "Connect failed");
like ("@msg", qr{.*hopefully-doesnt-existst}, "Cannot open from non-existing directory with attributes in HASH");
}