summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-08-28 13:39:46 +0500
committerunknown <hf@deer.(none)>2003-08-28 13:39:46 +0500
commit36636e82786886bb4c41ec2e9cf3fb27ef42511f (patch)
tree2fa128cdda2d8d4fedbbc2d8a75ea63787e186bd /sql-common
parentc2d54add7ede5e2e4610c43eeff6aa6f055cf197 (diff)
downloadmariadb-git-36636e82786886bb4c41ec2e9cf3fb27ef42511f.tar.gz
SCRUM:
Fixed some mess with STDCALL in function's declarations include/mysql.h: That definitions are more correct libmysqld/lib_sql.cc: should be declared as STDCALL libmysqld/libmysqld.c: should be declared as STDCALL sql-common/client.c: should be declared as STDCALL
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 25b18c27d8a..e410330d616 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -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;