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:
parent
8a6ee74796
commit
176c33d47a
@ -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.
|
|
@ -16,11 +16,3 @@
|
|||||||
!/media/
|
!/media/
|
||||||
|
|
||||||
!/mysql*
|
!/mysql*
|
||||||
!/bin/mingw32/libmysql*
|
|
||||||
!/bin/mingw64/libmysql*
|
|
||||||
!/bin/linux32/libmysql*
|
|
||||||
!/bin/linux64/libmysql*
|
|
||||||
!/bin/osx32/libmysql*
|
|
||||||
!/bin/osx64/libmysql*
|
|
||||||
!/csrc/mysql/
|
|
||||||
!/csrc/mysql/**
|
|
||||||
|
@ -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 ffi = require'ffi'
|
||||||
local bit = require'bit'
|
local bit = require'bit'
|
||||||
require'mysql_h'
|
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}
|
local M = {C = C}
|
||||||
|
|
||||||
--we compare NULL pointers against NULL instead of nil for compatibility with luaffi.
|
--we compare NULL pointers against NULL instead of nil for compatibility with luaffi.
|
||||||
|
2
mysql.md
2
mysql.md
@ -7,6 +7,8 @@ tagline: mysql database client
|
|||||||
|
|
||||||
A complete, lightweight ffi binding of the mysql client library.
|
A complete, lightweight ffi binding of the mysql client library.
|
||||||
|
|
||||||
|
> NOTE: binaries are in separate packages [libmysql] and [libmariadb].
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user