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
671ed6ac
Commit
671ed6ac
authored
Nov 22, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed include/ files
parent
7ba94c67
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
include/mysql.h
include/mysql.h
+9
-4
include/mysql_com.h
include/mysql_com.h
+1
-0
No files found.
include/mysql.h
View file @
671ed6ac
...
...
@@ -57,6 +57,9 @@ typedef int my_socket;
#include "mysql_com.h"
#include "mysql_version.h"
#include "typelib.h"
#ifndef DBUG_OFF
#define CHECK_EXTRA_ARGUMENTS
#endif
extern
unsigned
int
mysql_port
;
extern
char
*
mysql_unix_port
;
...
...
@@ -424,7 +427,7 @@ int STDCALL mysql_manager_fetch_line(MYSQL_MANAGER* con,
*/
/* statement state */
enum
MY
_STMT_STATE
{
MY_ST_UNKNOWN
,
MY_ST_PREPARE
,
MY_ST_EXECUTE
};
enum
PREP
_STMT_STATE
{
MY_ST_UNKNOWN
,
MY_ST_PREPARE
,
MY_ST_EXECUTE
};
/* bind structure */
typedef
struct
st_mysql_bind
...
...
@@ -442,7 +445,7 @@ typedef struct st_mysql_bind
my_bool
long_ended
;
/* All data supplied for long */
unsigned
int
param_number
;
/* For null count and error messages */
void
(
*
store_param_func
)(
NET
*
net
,
struct
st_mysql_bind
*
param
);
char
*
(
*
fetch_result
)(
struct
st_mysql_bind
*
,
const
char
*
row
);
void
(
*
fetch_result
)(
struct
st_mysql_bind
*
,
unsigned
char
*
*
row
);
}
MYSQL_BIND
;
...
...
@@ -462,10 +465,12 @@ typedef struct st_mysql_stmt
unsigned
long
long_length
;
/* long buffer alloced length */
unsigned
long
stmt_id
;
/* Id for prepared statement */
unsigned
int
last_errno
;
/* error code */
enum
MY
_STMT_STATE
state
;
/* statement state */
enum
PREP
_STMT_STATE
state
;
/* statement state */
char
last_error
[
MYSQL_ERRMSG_SIZE
];
/* error message */
my_bool
long_alloced
;
/* flag to indicate long alloced */
my_bool
types_supplied
;
/* to indicate types supply */
my_bool
send_types_to_server
;
/* to indicate types supply to server */
my_bool
param_buffers
;
/* to indicate the param bound buffers */
my_bool
res_buffers
;
/* to indicate the result bound buffers */
}
MYSQL_STMT
;
...
...
include/mysql_com.h
View file @
671ed6ac
...
...
@@ -302,6 +302,7 @@ void my_thread_end(void);
#endif
#define NULL_LENGTH ((unsigned long) ~0)
/* For net_store_length */
#define MYSQL_STMT_HEADER 4
#define MYSQL_LONG_DATA_HEADER 8
#endif
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