X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-mysql%2Fclsql_mysql.c;h=ebbb8e1e48e99f2b9ce6e2d9085c908637add086;hb=3d86a3b402ae495cddcc5999c5bdd7fe6f586d53;hp=327f14e5553069225cfceca9aca17b880f035d11;hpb=e567409d9fff3f7231c2a0bb69b345e19de2b246;p=clsql.git diff --git a/db-mysql/clsql_mysql.c b/db-mysql/clsql_mysql.c index 327f14e..ebbb8e1 100644 --- a/db-mysql/clsql_mysql.c +++ b/db-mysql/clsql_mysql.c @@ -6,8 +6,6 @@ * Programmer: Kevin M. Rosenberg * Date Started: Mar 2002 * - * $Id$ - * * This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg * * CLSQL users are granted the rights to distribute and use this software @@ -15,7 +13,7 @@ * (http://opensource.franz.com/preamble.html), also known as the LLGPL. ***************************************************************************/ -#ifdef WIN32 +#if defined(WIN32)||defined(WIN64) #include BOOL WINAPI DllEntryPoint(HINSTANCE hinstdll, DWORD fdwReason, @@ -87,7 +85,15 @@ clsql_mysql_insert_id (MYSQL* mysql, unsigned int* pHigh32) /* Accessor functions to hide the differences across MySQL versions */ DLLEXPORT -short int +unsigned int +clsql_mysql_field_flags (MYSQL_FIELD* field) +{ + return field->flags; +} + + +DLLEXPORT +unsigned int clsql_mysql_field_type (MYSQL_FIELD* field) { return field->type; @@ -138,7 +144,6 @@ bind_param (MYSQL_BIND bind[], unsigned int n, unsigned long length, unsigned sh } -DLLEXPORT DLLEXPORT unsigned int clsql_mysql_stmt_affected_rows (MYSQL_STMT* stmt, unsigned int* pHigh32) @@ -148,6 +153,5 @@ clsql_mysql_stmt_affected_rows (MYSQL_STMT* stmt, unsigned int* pHigh32) return lower_32bits(nAffected); } - #endif