mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merged by hands
BitKeeper/etc/gone: auto-union BitKeeper/etc/logging_ok: auto-union BitKeeper/deleted/.del-skipkeys~207548ca813d5081: 'Auto converge rename' libmysqld/lib_sql.cc: Auto merged sql/field.h: Auto merged sql/ha_myisam.cc: Auto merged sql/item.h: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_handler.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged
This commit is contained in:
@ -178,6 +178,9 @@ public:
|
||||
convert_array(from_map, (uchar*) a,length);
|
||||
}
|
||||
bool store(String *, const char *,uint);
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
void convert_back(char *dest, const char *source, uint length) const;
|
||||
#endif
|
||||
inline uint number() { return numb; }
|
||||
};
|
||||
|
||||
@ -335,6 +338,10 @@ class select_result;
|
||||
#define THD_SENTRY_MAGIC 0xfeedd1ff
|
||||
#define THD_SENTRY_GONE 0xdeadbeef
|
||||
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
typedef struct st_mysql;
|
||||
#endif
|
||||
|
||||
#define THD_CHECK_SENTRY(thd) DBUG_ASSERT(thd->dbug_sentry == THD_SENTRY_MAGIC)
|
||||
|
||||
struct system_variables
|
||||
@ -393,6 +400,9 @@ public:
|
||||
struct rand_struct rand; // used for authentication
|
||||
struct system_variables variables; // Changeable local variables
|
||||
pthread_mutex_t LOCK_delete; // Locked before thd is deleted
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
struct st_mysql *mysql;
|
||||
#endif
|
||||
|
||||
char *query; // Points to the current query,
|
||||
/*
|
||||
|
Reference in New Issue
Block a user