1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a bug introduced by the fts3 refactoring (segfault when creating a table with zero module args). Also a fix to handle an OOM error.

FossilOrigin-Name: eada284bc10cafcab9beb3473bb0c70b3b4de2f9
This commit is contained in:
dan
2009-11-28 12:40:32 +00:00
parent c473b48b23
commit 81fa6dc319
7 changed files with 221 additions and 16 deletions

View File

@ -412,7 +412,7 @@ proc execsql {sql {db db}} {
#
proc catchsql {sql {db db}} {
# puts "SQL = $sql"
set r [catch {$db eval $sql} msg]
set r [catch [list uplevel [list $db eval $sql]] msg]
lappend r $msg
return $r
}