Package: libapache2-mod-log-sql
Version: 1.100-8
Severity: normal

The scoreboard patch hardcodes the query:

    insert ignore into %s (domain,vhost,month,year,count_impressions) values 
('%s','%s','%s','%s','0')

but insert ignore is not portable and fails when using pgsql as the backend.

It should instead use a transaction and rollback if the table does not exist.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.11.12-xenU-rimu1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-mod-log-sql depends on:
ii  apache2-mpm-prefork           2.2.3-4+b1 Traditional model for Apache HTTPD
ii  libc6                         2.5-7      GNU C Library: Shared libraries

Versions of packages libapache2-mod-log-sql recommends:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to