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
a0d00113
Commit
a0d00113
authored
Jun 04, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.2way
parents
94b570da
382aba18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
include/mysql.h
include/mysql.h
+10
-4
include/mysql_com.h
include/mysql_com.h
+1
-1
No files found.
include/mysql.h
View file @
a0d00113
...
@@ -129,7 +129,7 @@ typedef struct st_mysql_data {
...
@@ -129,7 +129,7 @@ typedef struct st_mysql_data {
unsigned
int
fields
;
unsigned
int
fields
;
MYSQL_ROWS
*
data
;
MYSQL_ROWS
*
data
;
MEM_ROOT
alloc
;
MEM_ROOT
alloc
;
#if
def EMBEDDED_LIBRARY
#if
!defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY)
MYSQL_ROWS
**
prev_ptr
;
MYSQL_ROWS
**
prev_ptr
;
#endif
#endif
}
MYSQL_DATA
;
}
MYSQL_DATA
;
...
@@ -164,7 +164,7 @@ struct st_mysql_options {
...
@@ -164,7 +164,7 @@ struct st_mysql_options {
a read that is replication-aware
a read that is replication-aware
*/
*/
my_bool
no_master_reads
;
my_bool
no_master_reads
;
#if
def EMBEDDED_LIBRARY
#if
!defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY)
my_bool
separate_thread
;
my_bool
separate_thread
;
#endif
#endif
char
*
shared_memory_base_name
;
char
*
shared_memory_base_name
;
...
@@ -176,7 +176,7 @@ enum mysql_option
...
@@ -176,7 +176,7 @@ enum mysql_option
MYSQL_OPT_CONNECT_TIMEOUT
,
MYSQL_OPT_COMPRESS
,
MYSQL_OPT_NAMED_PIPE
,
MYSQL_INIT_COMMAND
,
MYSQL_OPT_CONNECT_TIMEOUT
,
MYSQL_OPT_COMPRESS
,
MYSQL_OPT_NAMED_PIPE
,
MYSQL_INIT_COMMAND
,
MYSQL_READ_DEFAULT_FILE
,
MYSQL_READ_DEFAULT_GROUP
,
MYSQL_SET_CHARSET_DIR
,
MYSQL_SET_CHARSET_NAME
,
MYSQL_READ_DEFAULT_FILE
,
MYSQL_READ_DEFAULT_GROUP
,
MYSQL_SET_CHARSET_DIR
,
MYSQL_SET_CHARSET_NAME
,
MYSQL_OPT_LOCAL_INFILE
,
MYSQL_OPT_PROTOCOL
,
MYSQL_SHARED_MEMORY_BASE_NAME
MYSQL_OPT_LOCAL_INFILE
,
MYSQL_OPT_PROTOCOL
,
MYSQL_SHARED_MEMORY_BASE_NAME
#if
def EMBEDDED_LIBRARY
#if
!defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY)
,
MYSQL_OPT_USE_RESULT
,
MYSQL_OPT_USE_RESULT
#endif
#endif
};
};
...
@@ -202,7 +202,7 @@ enum mysql_rpl_type
...
@@ -202,7 +202,7 @@ enum mysql_rpl_type
};
};
#if
ndef EMBEDDED_LIBRARY
#if
!defined(CHECK_EMBEDDED_DIFFERENCES) || !defined(EMBEDDED_LIBRARY)
typedef
struct
st_mysql
typedef
struct
st_mysql
{
{
...
@@ -247,6 +247,12 @@ typedef struct st_mysql
...
@@ -247,6 +247,12 @@ typedef struct st_mysql
struct
st_mysql
*
last_used_con
;
struct
st_mysql
*
last_used_con
;
LIST
*
stmts
;
/* list of all statements */
LIST
*
stmts
;
/* list of all statements */
#if !defined(CHECK_EMBEDDED_DIFFERENCES)
struct
st_mysql_res
*
result
;
void
*
thd
;
unsigned
int
last_errno
;
char
*
last_error
;
#endif
}
MYSQL
;
}
MYSQL
;
#else
#else
...
...
include/mysql_com.h
View file @
a0d00113
...
@@ -128,7 +128,7 @@ typedef struct st_vio Vio;
...
@@ -128,7 +128,7 @@ typedef struct st_vio Vio;
#define MAX_BLOB_WIDTH 8192
/* Default width for blob */
#define MAX_BLOB_WIDTH 8192
/* Default width for blob */
typedef
struct
st_net
{
typedef
struct
st_net
{
#if
ndef EMBEDDED_LIBRARY
#if
!defined(CHECK_EMBEDDED_DIFFERENCES) || !defined(EMBEDDED_LIBRARY)
Vio
*
vio
;
Vio
*
vio
;
unsigned
char
*
buff
,
*
buff_end
,
*
write_pos
,
*
read_pos
;
unsigned
char
*
buff
,
*
buff_end
,
*
write_pos
,
*
read_pos
;
my_socket
fd
;
/* For Perl DBI/dbd */
my_socket
fd
;
/* For Perl DBI/dbd */
...
...
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