Comparing version 0.1.0 to 0.1.1
@@ -17,2 +17,3 @@ var common = require('../test/common'); | ||
connection.query('INSERT INTO ' + table + ' SET title="' + text + '"', function(err, result) { | ||
debugger; | ||
if (err) throw err; | ||
@@ -73,3 +74,4 @@ if (numLeft > 1) | ||
connection.end(); | ||
done(); | ||
if (done) | ||
done(); | ||
}); | ||
@@ -80,1 +82,5 @@ }); | ||
}; | ||
if (require.main === module) { | ||
module.exports(); | ||
} |
@@ -62,3 +62,2 @@ //var BigNumber = require("bignumber.js"); | ||
return null; | ||
debugger; | ||
throw "Should not reach here: " + byte1; | ||
@@ -65,0 +64,0 @@ }; |
{ | ||
"name": "mysql2", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "fast mysql driver", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,6 +12,5 @@ module.exports.createConnection = function() { | ||
var driver = require('../index.js'); | ||
if (process.env.BENCHMARK_MYSQL1) | ||
driver = require('mysql'); | ||
// uncomment to benchmark against mysql: | ||
//var driver = require('mysql'); | ||
return driver.createConnection({ | ||
@@ -18,0 +17,0 @@ host: process.env.MYSQL_HOST || '127.0.0.1', |
@@ -8,5 +8,2 @@ #!/usr/bin/env node | ||
} | ||
require('../benchmarks/bench-insert-select.js')(function() { | ||
require('urun')(__dirname, options); | ||
}); | ||
require('urun')(__dirname, options); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1019
35887
9