Package: php-sqlite3
Version: 0.4-4
Severity: normal

Hi, i have found a little bug in the package. if you store a long int
in the database you get only the lowest 32 bit from the
sqlite3-module.  to resolve this problem, you need to change line 602
in php_sqlite3.c from

ZVAL_LONG(col_val, sqlite3_column_int (stmt->stmt, col));

to

ZVAL_LONG(col_val, sqlite3_column_int64 (stmt->stmt, col));

regards
-Chris

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (SMP w/1 CPU core; PREEMPT)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages php-sqlite3 depends on:
ii  php-db                        1.7.13-2   PHP PEAR Database Abstraction Laye

php-sqlite3 recommends no packages.

php-sqlite3 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to