--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libqt4-sql: Conversion of TEXT columns to QString has trailing garbage
- From: Lars Hanke <spam@lhanke.de>
- Date: Wed, 23 Jan 2008 23:33:12 +0100
- Message-id: <20080123223312.15107.53937.reportbug@sleipnir>
Package: libqt4-sql
Version: 4.2.1-2+etch1
Severity: normal
Reading from MySQL columns of type TEXT to QString, e.g.
query.value(col).toString(), produces trailing garbage characters to be
included in the string. The same compiled code works flawless, if the column
type is changed to VARCHAR, e.g. by alter table profile change val val
VARCHAR(255); in mysql.
I bypassed the issue backporting Qt 4.3.3 from lenny as can be seen from the
configuration below (libqt4-core). This also resolves the issue from
#409937.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages libqt4-sql depends on:
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libgcc1 1:4.1.1-21 GCC support library
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libmysqlclient15off 5.0.32-7etch4 mysql database client library
ii libpq4 8.1.11-0etch1 PostgreSQL C client library
ii libqt4-core 4.3.3-2 Qt 4 core non-GUI functionality ru
ii libsqlite0 2.8.17-2 SQLite shared library
ii libsqlite3-0 3.3.8-1.1 SQLite 3 shared library
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3-13 compression library - runtime
libqt4-sql recommends no packages.
-- no debconf information
--- End Message ---