diff options
author | danielk1977 <danielk1977@noemail.net> | 2007-05-07 09:32:45 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2007-05-07 09:32:45 +0000 |
commit | a9808b31a8c3ebd8fecc7c63afdec7519ccdafd1 (patch) | |
tree | bc3a302d4075e3b9925f115ddfc4b0acf5552a64 /src/callback.c | |
parent | a58906a8dd74d751c4c9609f828f9043c1a983b1 (diff) | |
download | sqlite-a9808b31a8c3ebd8fecc7c63afdec7519ccdafd1.tar.gz sqlite-a9808b31a8c3ebd8fecc7c63afdec7519ccdafd1.zip |
Add the experimental create_collation_x() api. (CVS 3934)
FossilOrigin-Name: ff49d48f2f025898a0f4ace1fc227e1d367ea89f
Diffstat (limited to 'src/callback.c')
-rw-r--r-- | src/callback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c index 87f5b2472..f3d418808 100644 --- a/src/callback.c +++ b/src/callback.c @@ -13,7 +13,7 @@ ** This file contains functions used to access the internal hash tables ** of user defined functions and collation sequences. ** -** $Id: callback.c,v 1.17 2007/04/16 15:06:25 danielk1977 Exp $ +** $Id: callback.c,v 1.18 2007/05/07 09:32:45 danielk1977 Exp $ */ #include "sqliteInt.h" @@ -63,6 +63,7 @@ static int synthCollSeq(sqlite3 *db, CollSeq *pColl){ pColl2 = sqlite3FindCollSeq(db, aEnc[i], z, n, 0); if( pColl2->xCmp!=0 ){ memcpy(pColl, pColl2, sizeof(CollSeq)); + pColl->xDel = 0; /* Do not copy the destructor */ return SQLITE_OK; } } |