Package: zope-mysqlda
Version: 2.0.8-3
Severity: normal
Tags: patch

This package has at least one issue when used on databases with tablenames
with spaces in them. Patch below fixes the first symptom I'm encountering,
not sure if there's more to fix.

Cheers,
Jasper

--- db.py       2005-11-22 20:35:34.000000000 +0100
+++ db.py~      2005-11-22 20:35:34.000000000 +0100
@@ -232,7 +232,7 @@
         from string import join
         try:
             # Field, Type, Null, Key, Default, Extra
-            self.db.query('SHOW COLUMNS FROM %s' % table_name)
+            self.db.query('SHOW COLUMNS FROM %s' % table_name)
             c=self.db.store_result()
         except:
             return ()

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-git12
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages zope-mysqlda depends on:
ii  python2.2                    2.2.3dfsg-4 An interactive high-level object-o
ii  python2.2-mysqldb            1.2.1c3-4   A Python interface to MySQL
ii  zope                         2.6.4-1.8   open source web application server

zope-mysqlda recommends no packages.

-- no debconf information

-- 
Jasper Spaans                                       http://jsp.vs19.net/
 20:36:15 up 10506 days, 12:23, 0 users, load average: 5.33 4.92 6.33

               This line was last modified 0 seconds ago.

Attachment: signature.asc
Description: Digital signature

Reply via email to