2008-06-02 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbsqlit3/tests/blob.prg
  * harbour/contrib/hbsqlit3/tests/sqlite3_test.prg
  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.h
    * converted TABs to SPACEs
This commit is contained in:
Przemyslaw Czerpak
2008-06-02 10:42:59 +00:00
parent df0077307c
commit bbc91e06a1
5 changed files with 18 additions and 11 deletions

View File

@@ -8,6 +8,13 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-02 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/tests/blob.prg
* harbour/contrib/hbsqlit3/tests/sqlite3_test.prg
* harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
* harbour/contrib/hbsqlit3/sqlite3/sqlite3.h
* converted TABs to SPACEs
2008-06-02 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
! Minor correction.

View File

@@ -1547,7 +1547,7 @@ SQLITE_API int sqlite3_complete16(const void *sql);
** <a href="http://www.sqlite.org/cvstrac/wiki?p=CorruptionFollowingBusyError">
** CorruptionFollowingBusyError</a> wiki page for a discussion of why
** this is important.
**
**
** There can only be a single busy handler defined for each database
** connection. Setting a new busy handler clears any previous one.
** Note that calling [sqlite3_busy_timeout()] will also set or clear
@@ -11488,9 +11488,9 @@ SQLITE_API void *sqlite3_malloc(int nByte){
void *aAddr[40];
pHdr->nBacktrace = backtrace(aAddr, mem.nBacktrace+1)-1;
memcpy(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*));
if( mem.xBacktrace ){
if( mem.xBacktrace ){
mem.xBacktrace(nByte, pHdr->nBacktrace-1, &aAddr[1]);
}
}
}else{
pHdr->nBacktrace = 0;
}
@@ -36851,7 +36851,7 @@ static int btreeCopyFile(Btree *pTo, Btree *pFrom){
}
memcpy(zTo, zFrom, nCopy);
sqlite3PagerUnref(pFromPage);
sqlite3PagerUnref(pFromPage);
}
}
@@ -36916,7 +36916,7 @@ static int btreeCopyFile(Btree *pTo, Btree *pFrom){
rc = sqlite3PagerGet(pBtFrom->pPager, iFrom, &pFromPage);
if( rc==SQLITE_OK ){
char *zFrom = sqlite3PagerGetData(pFromPage);
rc = sqlite3OsWrite(pFile, zFrom, nFromPageSize, iOff);
rc = sqlite3OsWrite(pFile, zFrom, nFromPageSize, iOff);
sqlite3PagerUnref(pFromPage);
}
}
@@ -45240,7 +45240,7 @@ case OP_NewRowid: { /* out2-prerelease */
Mem *pMem;
assert( pOp->p3>0 && pOp->p3<=p->nMem ); /* P3 is a valid memory cell */
pMem = &p->aMem[pOp->p3];
REGISTER_TRACE(pOp->p3, pMem);
REGISTER_TRACE(pOp->p3, pMem);
sqlite3VdbeMemIntegerify(pMem);
assert( (pMem->flags & MEM_Int)!=0 ); /* mem(P3) holds an integer */
if( pMem->u.i==MAX_ROWID || pC->useRandomRowid ){

View File

@@ -1141,7 +1141,7 @@ int sqlite3_complete16(const void *sql);
** <a href="http://www.sqlite.org/cvstrac/wiki?p=CorruptionFollowingBusyError">
** CorruptionFollowingBusyError</a> wiki page for a discussion of why
** this is important.
**
**
** There can only be a single busy handler defined for each database
** connection. Setting a new busy handler clears any previous one.
** Note that calling [sqlite3_busy_timeout()] will also set or clear

View File

@@ -79,7 +79,7 @@ PROCEDURE main()
sqlite3_blob_close( blob )
? "Close BLOB"
ENDIF
sqlite3_sleep( 3000 )
sqlite3_sleep( 3000 )
?""
?"Save BLOB using sqlite3_column_blob()"

View File

@@ -31,7 +31,7 @@ PROCEDURE main()
IF sqlite3_libversion_number() < 3005001
RETURN
ENDIF
ENDIF
t1()
t2()
@@ -236,9 +236,9 @@ PROCEDURE t2()
?? aTable[nI][nJ], " "
NEXT nJ
?
NEXT nI
NEXT nI
sqlite3_sleep( 3000 )
sqlite3_sleep( 3000 )
ENDIF
RETURN