Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Avoid unnecessary calls to sqlite3_free() from within sqlite3VXPrintf(). |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e2a8b280e84c1f8fd6106d9427e1ad6c |
User & Date: | drh 2013-12-13 16:42:18.070 |
Context
2013-12-13
| ||
18:50 | Enhance the pcache1PinPage() routine so that it called much less often and runs much faster in the cases when it is actually called. (check-in: a845779cd3 user: drh tags: trunk) | |
16:42 | Avoid unnecessary calls to sqlite3_free() from within sqlite3VXPrintf(). (check-in: e2a8b280e8 user: drh tags: trunk) | |
16:23 | Simplication and optimization of error message handling. (check-in: 9d347f547e user: drh tags: trunk) | |
Changes
Changes to src/printf.c.
︙ | ︙ | |||
679 680 681 682 683 684 685 | if( flag_leftjustify ){ register int nspace; nspace = width-length; if( nspace>0 ){ sqlite3AppendSpace(pAccum, nspace); } } | | | 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 | if( flag_leftjustify ){ register int nspace; nspace = width-length; if( nspace>0 ){ sqlite3AppendSpace(pAccum, nspace); } } if( zExtra ) sqlite3_free(zExtra); }/* End for loop over the format string */ } /* End of function */ /* ** Append N bytes of text from z to the StrAccum object. */ void sqlite3StrAccumAppend(StrAccum *p, const char *z, int N){ |
︙ | ︙ |