This file is indexed.

/usr/lib/nodejs/mysql/index.js is in node-mysql 2.4.2-1.

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
var Connection       = require('./lib/Connection');
var ConnectionConfig = require('./lib/ConnectionConfig');
var Types            = require('./lib/protocol/constants/types');
var SqlString        = require('./lib/protocol/SqlString');
var Pool             = require('./lib/Pool');
var PoolConfig       = require('./lib/PoolConfig');
var PoolCluster      = require('./lib/PoolCluster');

exports.createConnection = function(config) {
  return new Connection({config: new ConnectionConfig(config)});
};

exports.createPool = function(config) {
  return new Pool({config: new PoolConfig(config)});
};

exports.createPoolCluster = function(config) {
  return new PoolCluster(config);
};

exports.createQuery = Connection.createQuery;

exports.Types    = Types;
exports.escape   = SqlString.escape;
exports.escapeId = SqlString.escapeId;
exports.format   = SqlString.format;