/usr/lib/pike7.8/modules/Sql.pmod/odbc.pike is in pike7.8-odbc 7.8.866-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /*
* $Id: 1928f7142bd354bf506113484897f120bdeb2fe2 $
*
* Glue for the ODBC-module
*/
#pike __REAL_VERSION__
// Cannot dump this since the #if constant(...) check below may depend
// on the presence of system libs at runtime.
constant dont_dump_program = 1;
#if constant(Odbc.odbc)
inherit Odbc.odbc;
int|object big_query(object|string q, mapping(string|int:mixed)|void bindings)
{
if (!bindings)
return ::big_query(q);
return ::big_query(.sql_util.emulate_bindings(q, bindings, this));
}
constant list_dbs = Odbc.list_dbs;
#else
constant this_program_does_not_exist=1;
#endif /* constant(Odbc.odbc) */
|