[Rt-commit] rt branch 4.4/oracle-segfault-tests created. rt-4.4.5-38-gc28916c4b2

BPS Git Server git at git.bestpractical.com
Tue Apr 5 13:57:39 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 4.4/oracle-segfault-tests has been created
        at  c28916c4b23efbefc8a702a8117b748ada8cdfc6 (commit)

- Log -----------------------------------------------------------------
commit c28916c4b23efbefc8a702a8117b748ada8cdfc6
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Apr 5 21:54:10 2022 +0800

    Add multiple db connection tests mainly for Oracle
    
    See also https://github.com/perl5-dbi/DBD-Oracle/issues/111

diff --git a/t/api/db_multiple_connections.t b/t/api/db_multiple_connections.t
new file mode 100644
index 0000000000..4c2c110c15
--- /dev/null
+++ b/t/api/db_multiple_connections.t
@@ -0,0 +1,12 @@
+use strict;
+use warnings;
+
+use RT::Test;
+
+# Test the segment faults issue on DBD::Oracle 1.80+(before 1.90), which
+# happens when there are multiple connections stored in package variables.
+# Here we only need to create another one as $RT::Handle already has one.
+our $handle = RT::Handle->new;
+$handle->Connect;
+
+done_testing;

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list