When there are obtained data of an unknown type, then
NULL is put into Tcl_ListObjAppendElement(). It results
in segmentation fault. Example:
package require Tcldbi
set db [dbi::dbi new sqlite dbname test.db sqlite_dbdir
/a_dir]
set cur [$db query {SELECT * FROM test}]
puts [$cur first_row]
---segmentation fault---
It is so because one column in table "test" is DATE.
While SQLite is typeless, it allows to create tables
with DATE attribute.
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| tcldbi.c.diff | just a proposal patch | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 75323: tcldbi.c.diff | 2004-01-31 21:26 | kvutza |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use