Skip to content

Commit bd3ab46

Browse files
committed
fix: assign SQLite procedures sqlite3_column_blob and sqlite3_column_bytes to TSQLiteLib
Refs #1980 Co-authored-by: ansgarbecker <ansgarbecker@users.noreply.github.com>
1 parent 4c196b9 commit bd3ab46

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
@@ -122,6 +122,8 @@ TSQLiteLib = class(TDbLib)
122122
sqlite3_reset: function(pStmt: Psqlite3_stmt): Integer; cdecl;
123123
sqlite3_total_changes: function(ppDb: Psqlite3): Integer; cdecl;
124124
sqlite3_column_text: function(pStmt: Psqlite3_stmt; iCol: Integer): PAnsiChar; cdecl;
125+
sqlite3_column_blob: function(pStmt: Psqlite3_stmt; iCol: Integer): Pointer; cdecl;
126+
sqlite3_column_bytes: function(pStmt: Psqlite3_stmt; iCol: Integer): Integer; cdecl;
125127
sqlite3_column_count: function(pStmt: Psqlite3_stmt): Integer; cdecl;
126128
sqlite3_column_name: function(pStmt: Psqlite3_stmt; N: Integer): PAnsiChar; cdecl;
127129
sqlite3_column_decltype: function(pStmt: Psqlite3_stmt; N: Integer): PAnsiChar; cdecl;
@@ -370,6 +372,8 @@ procedure TSQLiteLib.AssignProcedures;
370372
AssignProc(@sqlite3_reset, 'sqlite3_reset');
371373
AssignProc(@sqlite3_total_changes, 'sqlite3_total_changes');
372374
AssignProc(@sqlite3_column_text, 'sqlite3_column_text');
375+
AssignProc(@sqlite3_column_blob, 'sqlite3_column_blob');
376+
AssignProc(@sqlite3_column_bytes, 'sqlite3_column_bytes');
373377
AssignProc(@sqlite3_column_count, 'sqlite3_column_count');
374378
AssignProc(@sqlite3_column_name, 'sqlite3_column_name');
375379
AssignProc(@sqlite3_column_decltype, 'sqlite3_column_decltype');

0 commit comments

Comments
 (0)