rename 771669 segfault on SQLPrepare SELECT with expression result column
thanks

On Mon, Dec 01, 2014 at 02:31:22PM +0200, Enrico Zini wrote:

> sqlite3+odbc segfaults with this simple test case, which as far as I
> understand ODBC is just a standard connect and prepare sequence.

> $ cat sqlite-odbc.c
(...)
>     // Prepare a query
>     assert(SQLPrepare(stm, (SQLCHAR*)"SELECT COUNT(*) FROM sqlite_master 
> WHERE type='table' AND name=?", SQL_NTS) == SQL_SUCCESS);

Reproduced; the trigger for this segfault is that a column in the
result of the select is an expression, as opposed to a "straight"
column reference from a table.

-- 
Lionel


-- 
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