Skip to content

Commit cd85faf

Browse files
committed
Added API version for sqlite/pg binding
1 parent 552c877 commit cd85faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/DBDish/Pg/Native.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use NativeCall;
55

66
unit module DBDish::Pg::Native;
77

8-
constant LIB = %*ENV<DBIISH_PG_LIB> || 'libpq';
8+
constant LIB = %*ENV<DBIISH_PG_LIB> || ('libpq', 5);
99

1010
#------------ Pg library functions in alphabetical order ------------
1111

lib/DBDish/SQLite/Native.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ enum SQLITE_TYPE is export (
4545
SQLITE_NULL => 5
4646
);
4747

48-
constant LIB = %*ENV<DBIISH_SQLITE_LIB> || 'libsqlite3';
48+
constant LIB = %*ENV<DBIISH_SQLITE_LIB> || ('libsqlite3' , 0);
4949

5050
sub sqlite3_errmsg(OpaquePointer $handle)
5151
returns Str

0 commit comments

Comments
 (0)