From 1df81a8b50efdee491df094214a7eca6d10cac57 Mon Sep 17 00:00:00 2001 From: drh Date: Mon, 21 Jan 2008 16:47:16 +0000 Subject: [PATCH] Additional test cases for the RTRIM collation. (CVS 4735) FossilOrigin-Name: 51452d20f99ecbe0fdb73cfafde5270711aeacad --- manifest | 12 ++++++------ manifest.uuid | 2 +- test/collateA.test | 15 ++++++++++++++- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/manifest b/manifest index 80966a284e..7743fe5e19 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Miscellaneous\stest\scoverage\simprovements.\s(CVS\s4734) -D 2008-01-21T16:22:46 +C Additional\stest\scases\sfor\sthe\sRTRIM\scollation.\s(CVS\s4735) +D 2008-01-21T16:47:16 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7 F Makefile.in 30789bf70614bad659351660d76b8e533f3340e9 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654 @@ -233,7 +233,7 @@ F test/collate6.test 8be65a182abaac8011a622131486dafb8076e907 F test/collate7.test e23677b1fd271505302643a98178952bb65b6f21 F test/collate8.test 7ed2461305ac959886a064dc1e3cf15e155a183f F test/collate9.test 0867eabc1222ab0bc308fc09a7fb30770334c3cd -F test/collateA.test e86542420ef1b9fd98bbe6d857ea8eec20c177bb +F test/collateA.test 84ff3239d530c1a2c784159594b2ae05238e3ff7 F test/colmeta.test 6505c73ab58796afcb7c89ba9f429d573fbc6e53 F test/conflict.test bb29b052c60a1f7eb6382be77902061d1f305318 F test/corrupt.test 18c7a995b1af76a8c8600b996257f2c7b7bff083 @@ -609,7 +609,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 -P 3d4252b06b42151874ee437c3a484e818232a5c9 -R 0e6133fb44fd0259245f9422ed93f88d +P 720bc20a11275ffe139df9203f23e0683b9b4db1 +R d03e78e82114013abb8d1522ad14c7c0 U drh -Z 709a57783bc2736f970ed40cdf181568 +Z 7f13ab757cd6e736d87dbada7e62ee4e diff --git a/manifest.uuid b/manifest.uuid index 7959ef9ba3..3c46432b26 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -720bc20a11275ffe139df9203f23e0683b9b4db1 \ No newline at end of file +51452d20f99ecbe0fdb73cfafde5270711aeacad \ No newline at end of file diff --git a/test/collateA.test b/test/collateA.test index 4133af8966..55166d28a9 100644 --- a/test/collateA.test +++ b/test/collateA.test @@ -13,7 +13,7 @@ # focus of this script is the built-in RTRIM collating # API. # -# $Id: collateA.test,v 1.1 2008/01/20 23:19:58 drh Exp $ +# $Id: collateA.test,v 1.2 2008/01/21 16:47:16 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -65,6 +65,19 @@ do_test collateA-1.11 { do_test collateA-1.12 { execsql {SELECT 'abc123 '='abc123' COLLATE RTRIM;} } {1} +do_test collateA-1.13 { + execsql {SELECT ' '='' COLLATE RTRIM, ' '='' COLLATE BINARY, ' '=''} +} {1 0 0} +do_test collateA-1.14 { + execsql {SELECT ''=' ' COLLATE RTRIM, ''=' ' COLLATE BINARY, ''=' '} +} {1 0 0} +do_test collateA-1.15 { + execsql {SELECT ' '=' ' COLLATE RTRIM, ' '=' '} +} {1 0} +do_test collateA-1.16 { + execsql {SELECT ''<>' ' COLLATE RTRIM, ''<>' ' COLLATE BINARY, ''<>' '} +} {0 1 1} + do_test collateA-2.1 { execsql { -- 2.47.3