From da95f8a67f75c245eb4f656cff84b704ed7a4520 Mon Sep 17 00:00:00 2001 From: danielk1977 Date: Mon, 21 Jun 2004 11:30:56 +0000 Subject: [PATCH] Remove unused OP_UtfXX opcodes. (CVS 1650) FossilOrigin-Name: 84d6354fce8332b2fb4365ee23b9c9b7c012db9f --- manifest | 12 ++++++------ manifest.uuid | 2 +- src/vdbe.c | 54 +-------------------------------------------------- 3 files changed, 8 insertions(+), 60 deletions(-) diff --git a/manifest b/manifest index ce103c06a2..b83976fa57 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Avoid\sopening\sa\stemp\stable\sfor\saggregate\squeries\swith\sno\sGROUP\sBY\sclause.\s(CVS\s1649) -D 2004-06-21T10:45:07 +C Remove\sunused\sOP_UtfXX\sopcodes.\s(CVS\s1650) +D 2004-06-21T11:30:56 F Makefile.in d69d53c543518c1572ee0a8e8723d7e00bdb2266 F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd @@ -71,7 +71,7 @@ F src/update.c b66b1896c9da54678ba3eff2bf0b4d291a95986a F src/utf.c 3a2596013e4b9582d075ca742de7f067ff7dee95 F src/util.c e31e35d3d76cab7a02045095064897eca49cbce3 F src/vacuum.c fcb930215a3f6c50087300782555f61ad11dd80c -F src/vdbe.c 206ac8aa50978ff2870c3e53dc3564dff5ae8d33 +F src/vdbe.c 5da73f61016b1874d935b522bab6ca8b5aa15216 F src/vdbe.h 2d87155e31e84bb00cdc48cc1ce6987a3a484250 F src/vdbeInt.h c0740932621a8d4aac20e0c4235ce44eb5e8dce6 F src/vdbeapi.c 8a9421341e09b506a934132c9015f26362ae8c0e @@ -225,7 +225,7 @@ F www/tclsqlite.tcl 19191cf2a1010eaeff74c51d83fd5f5a4d899075 F www/vdbe.tcl 59288db1ac5c0616296b26dce071c36cb611dfe9 F www/version3.tcl af528563442e3039928f9018327a18157e53a44f F www/whentouse.tcl a8335bce47cc2fddb07f19052cb0cb4d9129a8e4 -P bbd3e93348bc3a1178f5278c6cf0b82e75bbf642 -R 721de3571b9dffe04fab1715f24d4561 +P 4d02df63496091a1e643601f84313f42130d6282 +R a5c7b81b886ce0dc51fd23c906f18801 U danielk1977 -Z c3a890995f7791045ca127dcbcc39544 +Z 7e03b6c5873537e5aac7ef83e2a8f46a diff --git a/manifest.uuid b/manifest.uuid index a5fef3c17c..230ccb85cc 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -4d02df63496091a1e643601f84313f42130d6282 \ No newline at end of file +84d6354fce8332b2fb4365ee23b9c9b7c012db9f \ No newline at end of file diff --git a/src/vdbe.c b/src/vdbe.c index b8cd8507c9..439df02a02 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -43,7 +43,7 @@ ** in this file for details. If in doubt, do not deviate from existing ** commenting and indentation practices when changing or adding code. ** -** $Id: vdbe.c,v 1.384 2004/06/21 10:45:09 danielk1977 Exp $ +** $Id: vdbe.c,v 1.385 2004/06/21 11:30:56 danielk1977 Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -835,58 +835,6 @@ case OP_Variable: { break; } -/* Opcode: Utf16le_8 * * * -** -** The element on the top of the stack must be a little-endian UTF-16 -** encoded string. It is translated in-place to UTF-8. -*/ -case OP_Utf16le_8: { - rc = SQLITE_INTERNAL; - break; -} - -/* Opcode: Utf16be_8 * * * -** -** The element on the top of the stack must be a big-endian UTF-16 -** encoded string. It is translated in-place to UTF-8. -*/ -case OP_Utf16be_8: { - rc = SQLITE_INTERNAL; - break; -} - -/* Opcode: Utf8_16be * * * -** -** The element on the top of the stack must be a UTF-8 encoded -** string. It is translated to big-endian UTF-16. -*/ -case OP_Utf8_16be: { - rc = SQLITE_INTERNAL; - break; -} - -/* Opcode: Utf8_16le * * * -** -** The element on the top of the stack must be a UTF-8 encoded -** string. It is translated to little-endian UTF-16. -*/ -case OP_Utf8_16le: { - rc = SQLITE_INTERNAL; - break; -} - -/* -** Opcode: UtfSwab -** -** The element on the top of the stack must be an UTF-16 encoded -** string. Every second byte is exchanged, so as to translate -** the string from little-endian to big-endian or vice versa. -*/ -case OP_UtfSwab: { - rc = SQLITE_INTERNAL; - break; -} - /* Opcode: Pop P1 * * ** ** P1 elements are popped off of the top of stack and discarded.