~ubuntu-branches/ubuntu/maverick/sqlite3/maverick-updates

« back to all changes in this revision

Viewing changes to src/test3.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-05-31 16:28:06 UTC
  • mfrom: (9.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090531162806-583oaj2nn948jxkc
Tags: 3.6.14.2-1
* New upstream release. Disable ICU support, it causes more trouble than
  good.
* Add 20-hurd-locking-style.patch for proper locking on Hurd
  (closes: #529734).

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
** is not included in the SQLite library.  It is used for automated
14
14
** testing of the SQLite library.
15
15
**
16
 
** $Id: test3.c,v 1.103 2009/03/18 10:33:02 danielk1977 Exp $
 
16
** $Id: test3.c,v 1.104 2009/05/04 11:42:30 danielk1977 Exp $
17
17
*/
18
18
#include "sqliteInt.h"
19
19
#include "btreeInt.h"
782
782
      return TCL_ERROR;
783
783
    }
784
784
    pBuf = Tcl_GetByteArrayFromObj(objv[3], &len);
785
 
    rc = sqlite3BtreeInsert(pCur, 0, iKey, pBuf, len, nZero, 0);
 
785
    rc = sqlite3BtreeInsert(pCur, 0, iKey, pBuf, len, nZero, 0, 0);
786
786
  }else{
787
787
    int keylen;
788
788
    int dlen;
790
790
    unsigned char *pDBuf;
791
791
    pKBuf = Tcl_GetByteArrayFromObj(objv[2], &keylen);
792
792
    pDBuf = Tcl_GetByteArrayFromObj(objv[3], &dlen);
793
 
    rc = sqlite3BtreeInsert(pCur, pKBuf, keylen, pDBuf, dlen, nZero, 0);
 
793
    rc = sqlite3BtreeInsert(pCur, pKBuf, keylen, pDBuf, dlen, nZero, 0, 0);
794
794
  }
795
795
  sqlite3BtreeLeave(pCur->pBtree);
796
796
  if( rc ){