mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
8dd2e5b8d9
PSTACK, libmysqld and MySQL filesystem UPDATE ... ORDER BY DELETE ... ORDER BY New faster fulltext handling Faster compressed keys Makefile.am: Added support for pstack and libmysqld_dir acconfig.h: MySQL filesystem and PSTACK acinclude.m4: MySQL File system client/mysql.cc: Support for --xml configure.in: Pstack, MySQL FS and libmysqld_dir include/ft_global.h: Faster fulltext include/my_pthread.h: Made c++ safe include/myisam.h: Update for faster fulltext include/mysql_com.h: new my_net_read() include/violite.h: libmysqld libmysql/net.c: New protocol that supports big packets myisam/Makefile.am: Faster fulltext myisam/ft_parser.c: Faster fulltext myisam/ft_search.c: Faster fulltext myisam/ft_update.c: Faster fulltext myisam/ftdefs.h: Faster fulltext myisam/mi_check.c: Faster fulltext myisam/mi_open.c: Faster compressed keys myisam/mi_search.c: Faster compressed keys myisam/mi_update.c: Faster compressed keys myisam/myisamdef.h: Faster compressed keys myisam/sort.c: Faster compressed keys mysql-test/mysql-test-run.sh: --skip-innobase and --skip-bdb sql/ChangeLog: Changelog sql/Makefile.am: PSTACK sql/mysql_priv.h: New ORDER BY options and libmysqld sql/mysqld.cc: PSTACK sql/net_serv.cc: New protocol that supports big packets sql/share/estonian/errmsg.txt: New error messages sql/sql_base.cc: Better list_open_tabels sql/sql_delete.cc: ORDER BY for delete sql/sql_lex.cc: Added language convertation of all strings sql/sql_parse.cc: Changes for libmysqld Use new ORDER BY options sql/sql_show.cc: Character set convertations Use new list_open_tables function. sql/sql_update.cc: UPDATE ... ORDER BY sql/sql_yacc.yy: Clean up symbol definitions DELETE .. ORDER BY UPDATE .. ORDER BY sql/table.h: new OPEN_TABLE_LIST structure BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
90 lines
3.1 KiB
C
90 lines
3.1 KiB
C
/* Defs for interface to demanglers.
|
|
Copyright 1992, 1995, 1996 Free Software Foundation, Inc.
|
|
|
|
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, 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. */
|
|
|
|
|
|
#if !defined (DEMANGLE_H)
|
|
#define DEMANGLE_H
|
|
|
|
#ifdef IN_GCC
|
|
#include "gansidecl.h"
|
|
#define PARAMS(ARGS) PROTO(ARGS)
|
|
#else /* ! IN_GCC */
|
|
#include <ansidecl.h>
|
|
#endif /* IN_GCC */
|
|
|
|
/* Options passed to cplus_demangle (in 2nd parameter). */
|
|
|
|
#define DMGL_NO_OPTS 0 /* For readability... */
|
|
#define DMGL_PARAMS (1 << 0) /* Include function args */
|
|
#define DMGL_ANSI (1 << 1) /* Include const, volatile, etc */
|
|
#define DMGL_JAVA (1 << 2) /* Demangle as Java rather than C++. */
|
|
|
|
#define DMGL_AUTO (1 << 8)
|
|
#define DMGL_GNU (1 << 9)
|
|
#define DMGL_LUCID (1 << 10)
|
|
#define DMGL_ARM (1 << 11)
|
|
/* If none of these are set, use 'current_demangling_style' as the default. */
|
|
#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM)
|
|
|
|
/* Enumeration of possible demangling styles.
|
|
|
|
Lucid and ARM styles are still kept logically distinct, even though
|
|
they now both behave identically. The resulting style is actual the
|
|
union of both. I.E. either style recognizes both "__pt__" and "__rf__"
|
|
for operator "->", even though the first is lucid style and the second
|
|
is ARM style. (FIXME?) */
|
|
|
|
extern enum demangling_styles
|
|
{
|
|
unknown_demangling = 0,
|
|
auto_demangling = DMGL_AUTO,
|
|
gnu_demangling = DMGL_GNU,
|
|
lucid_demangling = DMGL_LUCID,
|
|
arm_demangling = DMGL_ARM
|
|
} current_demangling_style;
|
|
|
|
/* Define string names for the various demangling styles. */
|
|
|
|
#define AUTO_DEMANGLING_STYLE_STRING "auto"
|
|
#define GNU_DEMANGLING_STYLE_STRING "gnu"
|
|
#define LUCID_DEMANGLING_STYLE_STRING "lucid"
|
|
#define ARM_DEMANGLING_STYLE_STRING "arm"
|
|
|
|
/* Some macros to test what demangling style is active. */
|
|
|
|
#define CURRENT_DEMANGLING_STYLE current_demangling_style
|
|
#define AUTO_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_AUTO)
|
|
#define GNU_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU)
|
|
#define LUCID_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_LUCID)
|
|
#define ARM_DEMANGLING (CURRENT_DEMANGLING_STYLE & DMGL_ARM)
|
|
|
|
extern char *
|
|
cplus_demangle PARAMS ((const char *mangled, int options));
|
|
|
|
extern int
|
|
cplus_demangle_opname PARAMS ((const char *opname, char *result, int options));
|
|
|
|
extern const char *
|
|
cplus_mangle_opname PARAMS ((const char *opname, int options));
|
|
|
|
/* Note: This sets global state. FIXME if you care about multi-threading. */
|
|
|
|
extern void
|
|
set_cplus_marker_for_demangling PARAMS ((int ch));
|
|
|
|
#endif /* DEMANGLE_H */
|