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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
eeb81610
Commit
eeb81610
authored
Jun 17, 2002
by
bar@gw.udmsearch.izhnet.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All instances of "ulong" were replaced with "unsigned long" for portability reasons.
Failed to compile at least on freebsd.
parent
67c06bf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
include/mysql.h
include/mysql.h
+14
-13
No files found.
include/mysql.h
View file @
eeb81610
...
...
@@ -427,8 +427,8 @@ typedef struct st_mysql_bind {
enum
enum_field_types
field_type
;
/* field type */
gptr
buffer
;
/* buffer */
long
*
length
;
/* output length pointer */
u
long
buffer_length
;
/* buffer length */
u
long
bind_length
;
/* internal use */
u
nsigned
long
buffer_length
;
/* buffer length */
u
nsigned
long
bind_length
;
/* internal use */
my_bool
is_null
;
/* NULL indicator */
my_bool
is_long_data
;
/* long data indicator */
my_bool
long_ended
;
/* internal use */
...
...
@@ -444,9 +444,9 @@ typedef struct st_mysql_stmt {
MYSQL_BIND
*
bind
;
/* row binding */
MYSQL_FIELD
*
fields
;
/* prepare meta info */
MEM_ROOT
mem_root
;
/* root allocations */
u
long
param_count
;
/* parameters count */
u
long
field_count
;
/* fields count */
u
long
long_length
;
/* long buffer alloced length */
u
nsigned
long
param_count
;
/* parameters count */
u
nsigned
long
field_count
;
/* fields count */
u
nsigned
long
long_length
;
/* long buffer alloced length */
uint
err_no
;
/* error code */
char
error
[
MYSQL_ERRMSG_SIZE
];
/* error message */
char
*
query
;
/* query buffer */
...
...
@@ -460,7 +460,7 @@ typedef struct st_mysql_stmt {
MYSQL_STMT
*
STDCALL
mysql_prepare
(
MYSQL
*
mysql
,
const
char
*
query
);
int
STDCALL
mysql_execute
(
MYSQL_STMT
*
stmt
);
ulong
STDCALL
mysql_param_count
(
MYSQL_STMT
*
stmt
);
u
nsigned
long
STDCALL
mysql_param_count
(
MYSQL_STMT
*
stmt
);
int
STDCALL
mysql_bind_param
(
MYSQL_STMT
*
stmt
,
MYSQL_BIND
*
bind
);
int
STDCALL
mysql_bind_result
(
MYSQL_STMT
*
stmt
,
MYSQL_BIND
*
bind
);
int
STDCALL
mysql_stmt_close
(
MYSQL_STMT
*
stmt
);
...
...
@@ -471,8 +471,9 @@ int STDCALL mysql_rollback(MYSQL * mysql);
int
STDCALL
mysql_autocommit
(
MYSQL
*
mysql
,
my_bool
auto_mode
);
int
STDCALL
mysql_fetch
(
MYSQL_STMT
*
stmt
);
my_bool
STDCALL
mysql_send_long_data
(
MYSQL_STMT
*
stmt
,
uint
param_number
,
gptr
data
,
ulong
length
);
int
STDCALL
mysql_multi_query
(
MYSQL
*
mysql
,
const
char
*
query
,
ulong
length
);
uint
param_number
,
gptr
data
,
unsigned
long
length
);
int
STDCALL
mysql_multi_query
(
MYSQL
*
mysql
,
const
char
*
query
,
unsigned
long
len
);
MYSQL_RES
*
STDCALL
mysql_next_result
(
MYSQL
*
mysql
);
MYSQL_RES
*
STDCALL
mysql_prepare_result
(
MYSQL_STMT
*
stmt
);
...
...
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