mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
mprintf() correctly handles "%s","". Fix for ticket #812. (CVS 1800)
FossilOrigin-Name: 4f56db1149f65dc2edf6626fa20ae255a5f5280c
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing the sqlite_*_printf() interface.
|
||||
#
|
||||
# $Id: printf.test,v 1.11 2004/06/29 13:04:33 drh Exp $
|
||||
# $Id: printf.test,v 1.12 2004/07/17 21:56:10 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -161,4 +161,11 @@ do_test printf-9.4 {
|
||||
sqlite3_mprintf_int {%yhello} 0 0 0
|
||||
} {%}
|
||||
|
||||
# Ticket #812
|
||||
#
|
||||
do_test printf-10.1 {
|
||||
sqlite3_mprintf_stronly %s {}
|
||||
} {}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user