summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/test/utf16align.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sqlite/test/utf16align.test')
-rw-r--r--third_party/sqlite/test/utf16align.test13
1 files changed, 12 insertions, 1 deletions
diff --git a/third_party/sqlite/test/utf16align.test b/third_party/sqlite/test/utf16align.test
index fb41b77..f026d95 100644
--- a/third_party/sqlite/test/utf16align.test
+++ b/third_party/sqlite/test/utf16align.test
@@ -14,7 +14,7 @@
# that all strings passed to that function are aligned on an even
# byte boundary.
#
-# $Id: utf16align.test,v 1.1 2006/02/16 18:16:38 drh Exp $
+# $Id: utf16align.test,v 1.2 2008/11/07 03:29:34 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -81,4 +81,15 @@ do_test utf16align-1.3 {
} 0
integrity_check utf16align-1.4
+# ticket #3482
+#
+db close
+sqlite3 db :memory:
+do_test utf16align-2.1 {
+ db eval {
+ PRAGMA encoding=UTF16be;
+ SELECT hex(ltrim(x'6efcda'));
+ }
+} {6EFC}
+
finish_test