aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-12-10 15:55:01 +0000
committerdrh <drh@noemail.net>2011-12-10 15:55:01 +0000
commit678a9aa7bdae01e70cb615058117b136eb045fbe (patch)
treeb972d1674fbd74d0d0b055ef14422b54e5c1adaf /src/printf.c
parent3a0c9c0298776f8a3ca842fe555979768fdabac7 (diff)
parenta5eec8c8c3b44b802d6571a436ec3b3bffd69f4c (diff)
downloadsqlite-678a9aa7bdae01e70cb615058117b136eb045fbe.tar.gz
sqlite-678a9aa7bdae01e70cb615058117b136eb045fbe.zip
Import the experimental parse-tree explainer, with fixes, from the
tree-explain branch. FossilOrigin-Name: bcbc7152d49107afa926c8950360c61a6cf3d244
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/printf.c b/src/printf.c
index 0babee514..58cfd2bd4 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -136,7 +136,7 @@ static char et_getdigit(LONGDOUBLE_TYPE *val, int *cnt){
/*
** Append N space characters to the given string buffer.
*/
-static void appendSpace(StrAccum *pAccum, int N){
+void sqlite3AppendSpace(StrAccum *pAccum, int N){
static const char zSpaces[] = " ";
while( N>=(int)sizeof(zSpaces)-1 ){
sqlite3StrAccumAppend(pAccum, zSpaces, sizeof(zSpaces)-1);
@@ -664,7 +664,7 @@ void sqlite3VXPrintf(
register int nspace;
nspace = width-length;
if( nspace>0 ){
- appendSpace(pAccum, nspace);
+ sqlite3AppendSpace(pAccum, nspace);
}
}
if( length>0 ){
@@ -674,7 +674,7 @@ void sqlite3VXPrintf(
register int nspace;
nspace = width-length;
if( nspace>0 ){
- appendSpace(pAccum, nspace);
+ sqlite3AppendSpace(pAccum, nspace);
}
}
sqlite3_free(zExtra);