[Rt-commit] r7193 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Wed Mar 7 21:00:27 EST 2007


Author: ruz
Date: Wed Mar  7 21:00:27 2007
New Revision: 7193

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm

Log:
* add a XXX mark for a bug

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm	Wed Mar  7 21:00:27 2007
@@ -162,6 +162,8 @@
         return;
     }
     elsif ( $db_type eq 'Pg' ) {
+        # XXX: as we get external DBH we don't know if RaiseError or PrintError
+        # are enabled, so we have to setup it here and restore them back
         $dbh->do("CREATE DATABASE $db_name WITH ENCODING='UNICODE'");
         if ( $DBI::errstr ) {
             $dbh->do("CREATE DATABASE $db_name") || die $DBI::errstr;


More information about the Rt-commit mailing list