luadbi-postgresql 0.7.5-1
PostgreSQL source-tree pathArchive ships a root-level test tree
SHA-25687e1e778835a0e9d1075543f0d4552b9b766d20007096c0a40ae8cc4310f9be4
MaleculeK(Am)H₄(Db₅FOsPo₂)Md(Pa₂)
Evidence
64:9… (connection_t *)lua_newuserdata(L, sizeof(connection_t));
65
66 if (sqlite3_open_v2(db, &conn->sqlite, flags, NULL) != SQLITE_OK) {
67 lua_pushnil(L);
68 lua_pushfstring(L, DBI_ERR_CONNECTION_FAILED, sqlite3_errms …
156:31… _create(L, conn, luaL_checkstring(L, 2));
157 }
158
159 lua_pushnil(L);
160 lua_pushstring(L, DBI_ERR_DB_UNAVAILABLE);
161 return 2;
162}
⋯5 lines
49:12… ment->cur_chunk) {
50 statement->cur_chunk = duckdb_fetch_chunk( statement->result );
51 statement->cur_row = 0;
52
53 // all data has been fetched.
54 if (!statement->cur_chunk) {
55 duckdb_destroy_result( &(stat …
255:13… p <= n; p++) {
256 int i = p - 1;
257 int type = lua_type(L, p);
258 char err[64];
259
260
⋯4 lines
10:21…
11 Oracle = 'dbd.oracle',
12 ODBC = 'dbd.odbc',
13 DuckDB = 'dbd.duckdb'
14}
15
16local string = require('string')
17
18-- Returns a list of available drivers
19-- based on run time loading
20local function available_drivers()
21 local available = {}
22
23 for driver, modulefile in pairs(name_to_module) do
24 local m, _ = pcall(require, modulefile)
25
26 if …
Showing the top 5 files — 4 more files (38 regions) not shown.
No evidence locations were recorded for this file. Raw result