aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-11-14 22:04:22 +0000
committerdrh <drh@noemail.net>2015-11-14 22:04:22 +0000
commit96ceaf8680363bb14919c04f3a2ae0c0054868f1 (patch)
tree1d1bffe3666ec61dafa969496fe466510dae6a36 /src/printf.c
parent0315e3cc140683a814f9d0069d6972669332388c (diff)
downloadsqlite-96ceaf8680363bb14919c04f3a2ae0c0054868f1.tar.gz
sqlite-96ceaf8680363bb14919c04f3a2ae0c0054868f1.zip
Code simplification in sqlite3ColumnsFromExprList(). Update the %z format
code so that it works with buffers obtained from sqlite3DbMalloc(). Add a testcase for the slow column name uniquifier. FossilOrigin-Name: 9272426057b6cb2d913519ff4c97aa6e211f7d51
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index dba928d10..9caeef8ff 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -726,7 +726,7 @@ void sqlite3VXPrintf(
if( width>0 && flag_leftjustify ) sqlite3AppendChar(pAccum, width, ' ');
if( zExtra ){
- sqlite3_free(zExtra);
+ sqlite3DbFree(pAccum->db, zExtra);
zExtra = 0;
}
}/* End for loop over the format string */