diff options
author | unknown <hf@bison.(none)> | 2002-06-17 16:24:51 +0500 |
---|---|---|
committer | unknown <hf@bison.(none)> | 2002-06-17 16:24:51 +0500 |
commit | f4b014d5c3ebac7e4c9eff57206d33f5fe6455ed (patch) | |
tree | 32ae61185744bab280ae5b44c652879d9331f198 /libmysqld/embedded_priv.h | |
parent | c1f3be5bb5f70e5d0376f258b79ccffa5b2d9c2b (diff) | |
download | mariadb-git-f4b014d5c3ebac7e4c9eff57206d33f5fe6455ed.tar.gz |
Removing net emulation out of embedded library
include/mysql.h:
Several structures content changed for embedded case
include/violite.h:
enum_vio_type extended
libmysqld/embedded_priv.h:
three new funcs added
libmysqld/lib_sql.cc:
A lot of changes on the way to excude network emulation
libmysqld/lib_vio.c:
vio structure changed.
we're on the way to remove network...
libmysqld/libmysqld.c:
A lot of changes.
sql/ha_myisam.cc:
Network sending modified for embedded case.
sql/net_pkg.cc:
Exclude network from error sending
sql/sql_acl.cc:
Exclude access permissions checking in embedded case
sql/sql_base.cc:
Implementation of send_fields got quite different in enbedded case and now
placed in lib_sql.cc
sql/sql_class.cc:
select_send::send_data for embedded case placed in lib_sql
sql/sql_class.h:
Extra fields added for embedded case
sql/sql_parse.cc:
remove this out of server
sql/sql_show.cc:
lots of similar changes to exclude network emulation
sql/sql_table.cc:
Network emulation excluded
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'libmysqld/embedded_priv.h')
-rw-r--r-- | libmysqld/embedded_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqld/embedded_priv.h b/libmysqld/embedded_priv.h index 96d2c96ed0b..253e3db3724 100644 --- a/libmysqld/embedded_priv.h +++ b/libmysqld/embedded_priv.h @@ -29,4 +29,7 @@ extern void end_embedded_connection(NET * net); extern void lib_connection_phase(NET *net, int phase); extern bool lib_dispatch_command(enum enum_server_command command, NET *net, const char *arg, ulong length); +extern void init_embedded_mysql(MYSQL *mysql, int client_flag, char *db); +extern void *create_embedded_thd(Vio *vio, unsigned char *buff, int client_flag, char *db); +extern NET *get_mysql_net(MYSQL *mysql); C_MODE_END |