[otrs-cvs] CVS: otrs/Kernel/System DB.pm,1.54,1.55

cvs-log at otrs.org cvs-log at otrs.org
Fri Nov 10 10:06:02 CET 2006


Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv4322/Kernel/System

Modified Files:
	DB.pm 
Log Message:
added database auto detection for sybase ans mssql

Index: DB.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/DB.pm,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** DB.pm	2 Nov 2006 12:20:52 -0000	1.54
--- DB.pm	10 Nov 2006 09:05:59 -0000	1.55
***************
*** 122,125 ****
--- 122,128 ----
          $Self->{'DB::Type'} = 'db2';
      }
+     elsif ($Self->{DSN} =~ /:(mssql|sybase)/i) {
+         $Self->{'DB::Type'} = 'mssql';
+     }
  
      # get database type (config option)



More information about the cvs-log mailing list