mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix the concat_ws() SQL function so that it includes empty strings in the
concatenation. [forum:/forumpost/52503ac21d|Forum post 52503ac21d]. FossilOrigin-Name: 80a78987da484d435a8242c05c48d546d430920df713b24a9d9d9fff7ba1113d
This commit is contained in:
@ -26,6 +26,9 @@ do_catchsql_test func9-120 {
|
||||
do_execsql_test func9-130 {
|
||||
SELECT concat_ws(',',1,2,3,4,5,6,7,8,NULL,9,10,11,12);
|
||||
} {1,2,3,4,5,6,7,8,9,10,11,12}
|
||||
do_execsql_test func9-131 {
|
||||
SELECT concat_ws(',',1,2,3,4,'',6,7,8,NULL,9,10,11,12);
|
||||
} {1,2,3,4,,6,7,8,9,10,11,12}
|
||||
do_execsql_test func9-140 {
|
||||
SELECT concat_ws(NULL,1,2,3,4,5,6,7,8,NULL,9,10,11,12);
|
||||
} {{}}
|
||||
|
Reference in New Issue
Block a user