tclsqlite

Check-in [d172d5f54e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix 342a9ab0e8: sqlite build error
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: d172d5f54ec0ed42f3072b98d7d1ef28f9120e940ad0cbdd9b8c3d0d39806463
User & Date: jan.nijtmans 2023-11-13 19:10:45
Context
2023-11-14
16:26
Merge SQLite 3.44.0 check-in: b6c985696d user: jan.nijtmans tags: main, trunk
2023-11-13
19:10
Fix 342a9ab0e8: sqlite build error check-in: d172d5f54e user: jan.nijtmans tags: main, trunk
2023-09-25
14:39
A few more patches from branch-3.43 check-in: 51d4d5617f user: jan.nijtmans tags: main, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclsqlite3.c.

1581
1582
1583
1584
1585
1586
1587

1588
1589
1590
1591
1592
1593
1594
1595
1596
          ** parameter name begins with "@". */
          data = Tcl_GetByteArrayFromObj(pVar, &n);
          sqlite3_bind_blob(pStmt, i, data, n, SQLITE_STATIC);
          Tcl_IncrRefCount(pVar);
          pPreStmt->apParm[iParm++] = pVar;
        }else if( c=='b' && (strcmp(zType,"boolean")==0 ||
              strcmp(zType,"booleanString")==0) && pVar->bytes==0){

          Tcl_GetBooleanFromObj(interp, pVar, &n);
          sqlite3_bind_int(pStmt, i, n);
        }else if( c=='d' && strcmp(zType,"double")==0 ){
          double r;
          Tcl_GetDoubleFromObj(interp, pVar, &r);
          sqlite3_bind_double(pStmt, i, r);
        }else if( (c=='w' && strcmp(zType,"wideInt")==0) ||
              (c=='i' && strcmp(zType,"int")==0) ){
          Tcl_WideInt v;







>
|
|







1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
          ** parameter name begins with "@". */
          data = Tcl_GetByteArrayFromObj(pVar, &n);
          sqlite3_bind_blob(pStmt, i, data, n, SQLITE_STATIC);
          Tcl_IncrRefCount(pVar);
          pPreStmt->apParm[iParm++] = pVar;
        }else if( c=='b' && (strcmp(zType,"boolean")==0 ||
              strcmp(zType,"booleanString")==0) && pVar->bytes==0){
          int boolVar;
          Tcl_GetBooleanFromObj(interp, pVar, &boolVar);
          sqlite3_bind_int(pStmt, i, boolVar);
        }else if( c=='d' && strcmp(zType,"double")==0 ){
          double r;
          Tcl_GetDoubleFromObj(interp, pVar, &r);
          sqlite3_bind_double(pStmt, i, r);
        }else if( (c=='w' && strcmp(zType,"wideInt")==0) ||
              (c=='i' && strcmp(zType,"int")==0) ){
          Tcl_WideInt v;