mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
ef726bbff3
client capabilities included into libmysqld some API methods became "virtual" lots of duplicated code removed IMHO all the above made library's code way more pleasant to look at, didn't it? BitKeeper/deleted/.del-lib_vio.c~d779731a1e391220: Delete: libmysqld/lib_vio.c BitKeeper/etc/ignore: Added libmysqld/client.c libmysqld/client_settings.h libmysqld/libmysql.c libmysqld/pack.c to the ignore list client/mysqltest.c: we don't need this now include/mysql.h: MYSQL and related structures unified four methods made "virtual" relative wrappers added include/mysql_com.h: todo added include/mysql_embed.h: now we include implementations of Vio structure in libmysqld include/sql_common.h: declarations changed include/violite.h: implementation of Vio included in libmysqld libmysql/client_settings.h: changes to make this working with both client and embedded libmysql/libmysql.c: global variables and my_net_local_init moved to sql-common/pack.c libmysqld/Makefile.am: libmysql.c, client.c, pack.c symlinked and added to sources lib_vio.c removed libmysqld/examples/Makefile.am: now we need CLIENT_LIBS here libmysqld/lib_sql.cc: code duplications removed emb_advanced_command was made from simple_command libmysqld/libmysqld.c: duplicated code removed sql-common/client.c: code trimmed with new model of calling sql-common/pack.c: some code moved here from libmysql.c and protocol.cc sql/client_settings.h: we don't need mysql_use_result for mini_client sql/net_serv.cc: file included in embedded server sql/protocol.cc: code moved to sql-common/pack.c
37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/* Copyright (C) 2000 MySQL AB
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program 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 General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
|
|
/* Defines that are unique to the embedded version of MySQL */
|
|
|
|
#ifdef EMBEDDED_LIBRARY
|
|
|
|
/* Things we don't need in the embedded version of MySQL */
|
|
/*HFTODO
|
|
#undef HAVE_VIO - if we don't want client in embedded library
|
|
*/
|
|
|
|
#undef HAVE_PSTACK /* No stacktrace */
|
|
#undef HAVE_DLOPEN /* No udf functions */
|
|
#undef HAVE_OPENSSL
|
|
#undef HAVE_ISAM
|
|
#undef HAVE_SMEM /* No shared memory */
|
|
|
|
#define DONT_USE_RAID
|
|
|
|
#undef MYSQL_SERVER_SUFFIX
|
|
#define MYSQL_SERVER_SUFFIX "-embedded"
|
|
|
|
#endif /* EMBEDDED_LIBRARY */
|