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
bf3e65b1
Commit
bf3e65b1
authored
Aug 28, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCRUM:
Fixed some mess with STDCALL in function's declarations
parent
42171225
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
include/mysql.h
include/mysql.h
+5
-5
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+1
-1
libmysqld/libmysqld.c
libmysqld/libmysqld.c
+2
-2
sql-common/client.c
sql-common/client.c
+2
-2
No files found.
include/mysql.h
View file @
bf3e65b1
...
...
@@ -541,16 +541,16 @@ typedef struct st_mysql_stmt
typedef
struct
st_mysql_methods
{
my_bool
STDCALL
(
*
read_query_result
)(
MYSQL
*
mysql
);
my_bool
STDCALL
(
*
advanced_command
)(
MYSQL
*
mysql
,
my_bool
(
STDCALL
*
read_query_result
)(
MYSQL
*
mysql
);
my_bool
(
STDCALL
*
advanced_command
)(
MYSQL
*
mysql
,
enum
enum_server_command
command
,
const
char
*
header
,
unsigned
long
header_length
,
const
char
*
arg
,
unsigned
long
arg_length
,
my_bool
skip_check
);
MYSQL_RES
*
STDCALL
(
*
store_result
)(
MYSQL
*
mysql
);
MYSQL_RES
*
STDCALL
(
*
use_result
)(
MYSQL
*
mysql
);
void
STDCALL
(
*
fetch_lengths
)(
unsigned
long
*
to
,
MYSQL_ROW
column
,
uint
field_count
);
MYSQL_RES
*
(
STDCALL
*
store_result
)(
MYSQL
*
mysql
);
MYSQL_RES
*
(
STDCALL
*
use_result
)(
MYSQL
*
mysql
);
void
(
STDCALL
*
fetch_lengths
)(
unsigned
long
*
to
,
MYSQL_ROW
column
,
uint
field_count
);
}
MYSQL_METHODS
;
MYSQL_STMT
*
STDCALL
mysql_prepare
(
MYSQL
*
mysql
,
const
char
*
query
,
...
...
libmysqld/lib_sql.cc
View file @
bf3e65b1
...
...
@@ -48,7 +48,7 @@ static bool check_user(THD *thd, enum_server_command command,
char
*
get_mysql_home
(){
return
mysql_home
;};
char
*
get_mysql_real_data_home
(){
return
mysql_real_data_home
;};
my_bool
my_bool
STDCALL
emb_advanced_command
(
MYSQL
*
mysql
,
enum
enum_server_command
command
,
const
char
*
header
,
ulong
header_length
,
const
char
*
arg
,
ulong
arg_length
,
my_bool
skip_check
)
...
...
libmysqld/libmysqld.c
View file @
bf3e65b1
...
...
@@ -59,7 +59,7 @@
#endif
void
free_old_query
(
MYSQL
*
mysql
);
my_bool
my_bool
STDCALL
emb_advanced_command
(
MYSQL
*
mysql
,
enum
enum_server_command
command
,
const
char
*
header
,
ulong
header_length
,
const
char
*
arg
,
ulong
arg_length
,
my_bool
skip_check
);
...
...
@@ -169,7 +169,7 @@ static inline int mysql_init_charset(MYSQL *mysql)
else the lengths are calculated from the offset between pointers.
**************************************************************************/
static
void
emb_fetch_lengths
(
ulong
*
to
,
MYSQL_ROW
column
,
uint
field_count
)
static
void
STDCALL
emb_fetch_lengths
(
ulong
*
to
,
MYSQL_ROW
column
,
uint
field_count
)
{
MYSQL_ROW
end
;
...
...
sql-common/client.c
View file @
bf3e65b1
...
...
@@ -636,7 +636,7 @@ void free_rows(MYSQL_DATA *cur)
}
}
static
my_bool
static
my_bool
STDCALL
cli_advanced_command
(
MYSQL
*
mysql
,
enum
enum_server_command
command
,
const
char
*
header
,
ulong
header_length
,
const
char
*
arg
,
ulong
arg_length
,
my_bool
skip_check
)
...
...
@@ -1008,7 +1008,7 @@ void mysql_read_default_options(struct st_mysql_options *options,
else the lengths are calculated from the offset between pointers.
**************************************************************************/
static
void
cli_fetch_lengths
(
ulong
*
to
,
MYSQL_ROW
column
,
uint
field_count
)
static
void
STDCALL
cli_fetch_lengths
(
ulong
*
to
,
MYSQL_ROW
column
,
uint
field_count
)
{
ulong
*
prev_length
;
byte
*
start
=
0
;
...
...
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