User: sits    
  Date: 06/06/10 00:45:30

  Modified:    bin      install.pl
               doc      codestriker.sgml
               lib/Codestriker/DB MySQL.pm
  Log:
  Minor doco and old MySQL 3.x support
  
  
  
  Index: install.pl
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/bin/install.pl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- install.pl        10 Jun 2006 02:58:33 -0000      1.7
  +++ install.pl        10 Jun 2006 07:45:30 -0000      1.8
  @@ -1,4 +1,4 @@
  -#!/usr/local/bin/perl -w
  +#!/usr/bin/perl -w
   
   
###############################################################################
   # Codestriker: Copyright (c) 2001, 2002 David Sitsky.  All rights reserved.
  @@ -245,29 +245,19 @@
   
        print <<EOF;
   
  -These can be installed by doing the following in PPM 2.0 (the version of ppm 
is
  -displayed when you start it up).
  +These can be installed by doing the following in PPM:
   
   C:\> ppm
   
  -PPM> set repository oi http://openinteract.sourceforge.net/ppmpackages
  -PPM> set save
  -PPM> install (package-name)
  -
  -For PPM 3.0:
  -
   C:\> ppm
  -PPM> rep add oi http://openinteract.sourceforge.net/ppmpackages
  +PPM> rep add theory 
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
   PPM> install (package-name)
   
   *NOTE* The Template package name may not be "Template" but "Template-Toolkit"
   when entering the commands above.
   
  -http://openinteract.sourceforge.net/cgi-bin/twiki/view/OI/ActivePerlPackages
  -has more information if you still have problems.
  -
  -Another repository of Perl packages is 
http://theoryx5.uwinnipeg.ca/ppmpackages
  -which also has mod_perl for Win32.
  +Go to http://theoryx5.uwinnipeg.ca/ppms if you have any installation 
problems.
  +Other Win32 ppm repositories are listed there.
   
   The ActiveState default repository in PPM has almost all of the packages
   required.
  
  
  
  
  
  Index: codestriker.sgml
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/doc/codestriker.sgml,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- codestriker.sgml  10 Jun 2006 02:58:33 -0000      1.54
  +++ codestriker.sgml  10 Jun 2006 07:45:30 -0000      1.55
  @@ -1700,6 +1700,8 @@
          modified so that the email which is sent after each commit
          which contains the diff of the commit, also includes the URL
          of the associated Codestriker topic that was created.
  +       <emphasis>Unfortunately, these scripts can only be executed
  +       on the UNIX platform.</emphasis>
        </para>
        <para>
          The <filename>commit_prep.pl</filename> and
  
  
  
  
  
  Index: MySQL.pm
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/DB/MySQL.pm,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MySQL.pm  22 May 2006 23:19:05 -0000      1.7
  +++ MySQL.pm  10 Jun 2006 07:45:30 -0000      1.8
  @@ -47,8 +47,15 @@
       # Not all versions of MySQL upport transactions.  Its easiest for now to
       # just enable AUTO_COMMIT.
       my $dbh = $self->_get_connection(1, 1);
  -    $dbh->do("SET NAMES 'utf8'");
  -    $dbh->do("SET character_set_results='utf8'");
  +
  +    # Older MySQL 3.X installations don't support these commands.  Wrap them
  +    # for now in a block and silently ignore the errors.
  +    {
  +     local $dbh->{RaiseError};
  +     local $dbh->{PrintError};
  +     $dbh->do("SET NAMES 'utf8'");
  +     $dbh->do("SET character_set_results='utf8'");
  +    }
       return $dbh;
   }
   
  
  
  


_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits

Reply via email to