mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix many problems with manifest types and column affinity. Most things are
working now. (CVS 1393) FossilOrigin-Name: ad4a964158ba9ca9d221cf7ea0439577f3894890
This commit is contained in:
11
src/btree.c
11
src/btree.c
@@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.141 2004/05/16 16:24:37 drh Exp $
|
||||
** $Id: btree.c,v 1.142 2004/05/18 10:06:25 danielk1977 Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** For a detailed discussion of BTrees, refer to
|
||||
@@ -1406,6 +1406,15 @@ create_cursor_exception:
|
||||
return rc;
|
||||
}
|
||||
|
||||
void sqlite3BtreeSetCompare(
|
||||
BtCursor *pCur,
|
||||
int(* xCmp)(void*,int,const void*,int,const void*),
|
||||
void *pArg
|
||||
){
|
||||
pCur->xCompare = xCmp ? xCmp : dfltCompare;
|
||||
pCur->pArg = pArg;
|
||||
}
|
||||
|
||||
/*
|
||||
** Close a cursor. The read lock on the database file is released
|
||||
** when the last cursor is closed.
|
||||
|
Reference in New Issue
Block a user