2009-01-23 00:28:56 +03:00
|
|
|
/*
|
|
|
|
lib_mysqludf_sys - a library with miscellaneous (operating) system level functions
|
|
|
|
Copyright (C) 2007 Roland Bouman
|
2010-03-04 13:41:33 +03:00
|
|
|
Copyright (C) 2008-2010 Roland Bouman and Bernardo Damele A. G.
|
2009-01-23 00:28:56 +03:00
|
|
|
web: http://www.mysqludf.org/
|
|
|
|
email: roland.bouman@gmail.com, bernardo.damele@gmail.com
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2009-01-17 03:13:16 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
DROP FUNCTION IF EXISTS lib_mysqludf_sys_info;
|
|
|
|
DROP FUNCTION IF EXISTS sys_get;
|
|
|
|
DROP FUNCTION IF EXISTS sys_set;
|
|
|
|
DROP FUNCTION IF EXISTS sys_exec;
|
|
|
|
DROP FUNCTION IF EXISTS sys_eval;
|
2009-09-26 03:03:45 +04:00
|
|
|
DROP FUNCTION IF EXISTS sys_bineval;
|
2009-01-17 03:13:16 +03:00
|
|
|
|
|
|
|
CREATE FUNCTION lib_mysqludf_sys_info RETURNS string SONAME 'lib_mysqludf_sys.so';
|
|
|
|
CREATE FUNCTION sys_get RETURNS string SONAME 'lib_mysqludf_sys.so';
|
|
|
|
CREATE FUNCTION sys_set RETURNS int SONAME 'lib_mysqludf_sys.so';
|
|
|
|
CREATE FUNCTION sys_exec RETURNS int SONAME 'lib_mysqludf_sys.so';
|
|
|
|
CREATE FUNCTION sys_eval RETURNS string SONAME 'lib_mysqludf_sys.so';
|
2009-09-26 03:03:45 +04:00
|
|
|
CREATE FUNCTION sys_bineval RETURNS int SONAME 'lib_mysqludf_sys.so';
|