.Dd December 19, 2018 .Dt SQLITE3CHANGESET_INVERT 3 .Os .Sh NAME .Nm sqlite3changeset_invert .Nd Invert A Changeset .Sh SYNOPSIS .Ft int .Fo sqlite3changeset_invert .Fa "int nIn" .Fa "const void *pIn" .Fa "int *pnOut" .Fa "void **ppOut " .Fc .Sh DESCRIPTION This function is used to "invert" a changeset object. Applying an inverted changeset to a database reverses the effects of applying the uninverted changeset. Specifically: .Bl -bullet .It Each DELETE change is changed to an INSERT, and .It Each INSERT change is changed to a DELETE, and .It For each UPDATE change, the old.* and new.* values are exchanged. .El .Pp This function does not change the order in which changes appear within the changeset. It merely reverses the sense of each individual change. .Pp If successful, a pointer to a buffer containing the inverted changeset is stored in *ppOut, the size of the same buffer is stored in *pnOut, and SQLITE_OK is returned. If an error occurs, both *pnOut and *ppOut are zeroed and an SQLite error code returned. .Pp It is the responsibility of the caller to eventually call sqlite3_free() on the *ppOut pointer to free the buffer allocation following a successful call to this function. .Pp WARNING/TODO: This function currently assumes that the input is a valid changeset. If it is not, the results are undefined. ='/netbsd/diff/lib/libc/arch/m68k/string'>diff
path: root/lib/libc/arch/m68k/string
AgeCommit message (Expand)Author
2014-03-18Merge riastradh-drm2 to HEAD.riastradh
2013-07-18Adjust for coldfirematt
2013-07-16Add END(func)matt
2013-07-16Convert to normal Motorola syntax for addressing.matt
2009-07-30If SRCS contains any .S files then remove the corresponding .c file fromdsl
2009-07-17Change all archs so that strchr.[cS] and strrchr.[cS] exist and generatedsl
2005-12-20Use reach-over sources from common/lib/libcchristos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-26netbsd.org->NetBSD.orgsalo
2001-09-07On the 68010, don't bother with the by-8-longwords loop, insteadfredette
2001-05-17Use the EXTBL macro where we want the extbl instruction.fredette
2001-05-17On the 68010 only, assemble a different version offredette
2001-05-17On the 68010, we are forced to do bytewise comparesfredette
2001-02-05Implement a significantly improved version of memccpy(), with thanks toscottr
2001-02-05Implement a significantly improved version of memccpy(), with thanks toscottr
2000-11-28Another change by Hiroshi Horimoto.is
2000-11-27Use dbeq loops, code submitted by Hiroshi Horimoto in PR 3223, integratedis
1999-10-27Fix spelling of contributors nameis
1999-10-25Add register prefixes.thorpej
1999-05-02When using the SVR4 ABI, return pointer results in a0, too.kleink
1998-01-09RCS Id Police.perry
1997-07-24Revert last change, some folks have reported problemsjtc
1997-07-21Use insn sequence found by superoptimizer to compute return value. Thisjtc
1997-05-18I removed the extra instructions which compute the return value in Hiroshijtc
1997-05-18New implementations of strcmp() and strncmp().jtc
1997-05-15Fix typojtc
1997-05-15Fixup reverse bcopyjtc
1997-05-14oops, bzero -> memsetjtc
1997-05-13Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.jtc
1997-05-13Faster versions of bcmp(), bcopy(), bzero(), and memset().jtc
1997-01-04#include <machine/asm.h> instead of "DEFS.h"jtc
1997-01-04Use jCC instead of bCC, as the assembler will then use the (smaller,jtc
1997-01-03Add L prefix on local labelsjtc
1996-11-30Add L prefix to local labelsjtc