Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c224b558
Commit
c224b558
authored
Jul 04, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCRUM
Including client code into embedded library Code trimming (fixes of comments etc)
parent
fed7a8d6
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
20 deletions
+4
-20
include/mysql_com.h
include/mysql_com.h
+1
-3
include/mysql_embed.h
include/mysql_embed.h
+1
-3
include/violite.h
include/violite.h
+1
-2
libmysql/libmysql.c
libmysql/libmysql.c
+0
-4
libmysqld/libmysqld.c
libmysqld/libmysqld.c
+1
-2
sql-common/client.c
sql-common/client.c
+0
-4
sql/net_serv.cc
sql/net_serv.cc
+0
-2
No files found.
include/mysql_com.h
View file @
c224b558
...
@@ -234,9 +234,7 @@ void net_end(NET *net);
...
@@ -234,9 +234,7 @@ void net_end(NET *net);
void
net_clear
(
NET
*
net
);
void
net_clear
(
NET
*
net
);
my_bool
net_realloc
(
NET
*
net
,
unsigned
long
length
);
my_bool
net_realloc
(
NET
*
net
,
unsigned
long
length
);
/*HFTODO - should remove it
#ifndef EMBEDDED_LIBRARY
/* To be removed by HF */
*/
#ifndef EMBEDDED_LIBRARY
my_bool
net_flush
(
NET
*
net
);
my_bool
net_flush
(
NET
*
net
);
#else
#else
#define net_flush(A)
#define net_flush(A)
...
...
include/mysql_embed.h
View file @
c224b558
...
@@ -19,9 +19,7 @@
...
@@ -19,9 +19,7 @@
#ifdef EMBEDDED_LIBRARY
#ifdef EMBEDDED_LIBRARY
/* Things we don't need in the embedded version of MySQL */
/* Things we don't need in the embedded version of MySQL */
/*HFTODO
/* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
#undef HAVE_VIO - if we don't want client in embedded library
*/
#undef HAVE_PSTACK
/* No stacktrace */
#undef HAVE_PSTACK
/* No stacktrace */
#undef HAVE_DLOPEN
/* No udf functions */
#undef HAVE_DLOPEN
/* No udf functions */
...
...
include/violite.h
View file @
c224b558
...
@@ -220,8 +220,7 @@ enum SSL_type
...
@@ -220,8 +220,7 @@ enum SSL_type
};
};
/* HFTODO - hide this if we don't want client in embedded server
/* HFTODO - hide this if we don't want client in embedded server */
*/
/* This structure is for every connection on both sides */
/* This structure is for every connection on both sides */
struct
st_vio
struct
st_vio
{
{
...
...
libmysql/libmysql.c
View file @
c224b558
...
@@ -61,12 +61,8 @@
...
@@ -61,12 +61,8 @@
#include "client_settings.h"
#include "client_settings.h"
#ifdef EMBEDDED_LIBRARY
#ifdef EMBEDDED_LIBRARY
#ifdef net_flush
#undef net_flush
#undef net_flush
#endif
my_bool
net_flush
(
NET
*
net
);
my_bool
net_flush
(
NET
*
net
);
#endif
#endif
#if defined(MSDOS) || defined(__WIN__)
#if defined(MSDOS) || defined(__WIN__)
...
...
libmysqld/libmysqld.c
View file @
c224b558
...
@@ -64,8 +64,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
...
@@ -64,8 +64,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
const
char
*
header
,
ulong
header_length
,
const
char
*
header
,
ulong
header_length
,
const
char
*
arg
,
ulong
arg_length
,
my_bool
skip_check
);
const
char
*
arg
,
ulong
arg_length
,
my_bool
skip_check
);
/*FROM client.c
/* From client.c */
*/
void
mysql_read_default_options
(
struct
st_mysql_options
*
options
,
void
mysql_read_default_options
(
struct
st_mysql_options
*
options
,
const
char
*
filename
,
const
char
*
group
);
const
char
*
filename
,
const
char
*
group
);
MYSQL
*
STDCALL
MYSQL
*
STDCALL
...
...
sql-common/client.c
View file @
c224b558
...
@@ -41,9 +41,7 @@
...
@@ -41,9 +41,7 @@
#ifdef EMBEDDED_LIBRARY
#ifdef EMBEDDED_LIBRARY
#ifdef MYSQL_SERVER
#undef MYSQL_SERVER
#undef MYSQL_SERVER
#endif
#ifndef MYSQL_CLIENT
#ifndef MYSQL_CLIENT
#define MYSQL_CLIENT
#define MYSQL_CLIENT
...
@@ -51,9 +49,7 @@
...
@@ -51,9 +49,7 @@
#define CLI_MYSQL_REAL_CONNECT cli_mysql_real_connect
#define CLI_MYSQL_REAL_CONNECT cli_mysql_real_connect
#ifdef net_flush
#undef net_flush
#undef net_flush
#endif
my_bool
net_flush
(
NET
*
net
);
my_bool
net_flush
(
NET
*
net
);
#else
/*EMBEDDED_LIBRARY*/
#else
/*EMBEDDED_LIBRARY*/
...
...
sql/net_serv.cc
View file @
c224b558
...
@@ -51,9 +51,7 @@
...
@@ -51,9 +51,7 @@
#ifdef EMBEDDED_LIBRARY
#ifdef EMBEDDED_LIBRARY
#ifdef net_flush
#undef net_flush
#undef net_flush
#endif
extern
"C"
{
extern
"C"
{
my_bool
net_flush
(
NET
*
net
);
my_bool
net_flush
(
NET
*
net
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment