Skip to content

Commit 707543c

Browse files
committed
fix: assign SQLite procedures sqlite3_column_blob and sqlite3_column_bytes to TSQLiteLib
Refs #1980
1 parent 7b0684d commit 707543c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎source/dbstructures.sqlite.pas‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ TSQLiteLib = class(TDbLib)
124124
sqlite3_reset: function(pStmt: Psqlite3_stmt): Integer; cdecl;
125125
sqlite3_total_changes: function(ppDb: Psqlite3): Integer; cdecl;
126126
sqlite3_column_text: function(pStmt: Psqlite3_stmt; iCol: Integer): PAnsiChar; cdecl;
127+
sqlite3_column_blob: function(pStmt: Psqlite3_stmt; iCol: Integer): Pointer; cdecl;
128+
sqlite3_column_bytes: function(pStmt: Psqlite3_stmt; iCol: Integer): Integer; cdecl;
127129
sqlite3_column_count: function(pStmt: Psqlite3_stmt): Integer; cdecl;
128130
sqlite3_column_name: function(pStmt: Psqlite3_stmt; N: Integer): PAnsiChar; cdecl;
129131
sqlite3_column_decltype: function(pStmt: Psqlite3_stmt; N: Integer): PAnsiChar; cdecl;
@@ -372,6 +374,8 @@ procedure TSQLiteLib.AssignProcedures;
372374
AssignProc(@sqlite3_reset, 'sqlite3_reset');
373375
AssignProc(@sqlite3_total_changes, 'sqlite3_total_changes');
374376
AssignProc(@sqlite3_column_text, 'sqlite3_column_text');
377+
AssignProc(@sqlite3_column_blob, 'sqlite3_column_blob');
378+
AssignProc(@sqlite3_column_bytes, 'sqlite3_column_bytes');
375379
AssignProc(@sqlite3_column_count, 'sqlite3_column_count');
376380
AssignProc(@sqlite3_column_name, 'sqlite3_column_name');
377381
AssignProc(@sqlite3_column_decltype, 'sqlite3_column_decltype');

0 commit comments

Comments
 (0)