1
0
mirror of https://github.com/luapower/mysql.git synced 2024-12-28 20:00:33 +01:00

removed GPL'ed binary

This commit is contained in:
Cosmin Apreuetsei 2014-03-16 17:59:44 +02:00
parent 8a6ee74796
commit 176c33d47a
4 changed files with 5 additions and 14 deletions

View File

@ -1,4 +0,0 @@
libmysql 6.1.0.0 from http://dev.mysql.com/downloads/connector/c/ (GPL License)
libmysql wasn't build from source.
no binary for linux is included.

View File

@ -16,11 +16,3 @@
!/media/
!/mysql*
!/bin/mingw32/libmysql*
!/bin/mingw64/libmysql*
!/bin/linux32/libmysql*
!/bin/linux64/libmysql*
!/bin/osx32/libmysql*
!/bin/osx64/libmysql*
!/csrc/mysql/
!/csrc/mysql/**

View File

@ -1,8 +1,9 @@
--mysql ffi binding by Cosmin Apreutesei. supports mysql Connector/C 6.1. based on mySQL 5.7 manual.
--mysql ffi binding (Cosmin Apreutesei, public domain). supports mysql Connector/C 6.1. based on mySQL 5.7 manual.
local ffi = require'ffi'
local bit = require'bit'
require'mysql_h'
local C = ffi.load(ffi.abi'win' and 'libmysql' or 'mysql')
local ok, C = pcall(ffi.load, ffi.abi'win' and 'libmysql' or 'mysql')
if not ok then C = ffi.load(ffi.abi'win' and 'libmariadb' or 'mariadb') end
local M = {C = C}
--we compare NULL pointers against NULL instead of nil for compatibility with luaffi.

View File

@ -7,6 +7,8 @@ tagline: mysql database client
A complete, lightweight ffi binding of the mysql client library.
> NOTE: binaries are in separate packages [libmysql] and [libmariadb].
## Summary
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------