1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Make sure the text result of an aggregate function has the correct

encoding.  Ticket #3009. (CVS 4903)

FossilOrigin-Name: 13e388cecf53d680a79ef29ff4e82e59de8f1264
This commit is contained in:
drh
2008-03-21 17:13:13 +00:00
parent 3088d59e06
commit 2dca868075
4 changed files with 16 additions and 10 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing built-in functions.
#
# $Id: func.test,v 1.74 2008/03/20 14:03:29 drh Exp $
# $Id: func.test,v 1.75 2008/03/21 17:13:13 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -917,5 +917,10 @@ do_test func-24.5 {
SELECT group_concat(t1,NULL) FROM tbl1
}
} {thisprogramisfreesoftware}
do_test func-24.6 {
execsql {
SELECT 'BEGIN-'||group_concat(t1) FROM tbl1
}
} {BEGIN-this,program,is,free,software}
finish_test