nk-mysql
Version:
A mostly simple, yet powerful C++ data integration toolset for nodakwaeri (nk) or any application which would make use of it. Featuring the MySQL C++ Connector from Oracle, designed to keep your application secure and efficient.
41 lines (33 loc) • 1.08 kB
JavaScript
/**
* package: nodamysql
* author: Richard B. Winters <a href='mailto:rik@mmogp.com'>Rik At MMOGP</a>
* copyright: 2011-2015 Massively Modified, Inc.
* license: Apache, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
*/
// Deps
var nodamysql = null;
if( process.arch == 'x64' )
{
if( process.platform == 'win32' )
{
nodamysql = require( './includables/module/precompiled/win/win8164-mysql561964/opt/nodamysql' ); // Release build
}
else
{
// Must be linux
nodamysql = require( './includables/module/precompiled/lin/deb7564-mysql561964/opt/nodamysql' );
}
}
else
{ // It's x86
if( process.platform == 'win32' )
{ // We don't actually have this yet... personally we'll always use 64-bit here at MMod.
nodamysql = require( './includables/module/precompiled/win/win732-mysql561932/opt/nodamysql' );
}
else
{
// Must be linux
nodamysql = require( './includables/module/precompiled/lin/deb7532-mysql561932/opt/nodamysql' );
}
}
module.exports = exports = nodamysql;