Version 5.0.3: Full foreign string internationalization support
[clsql.git] / db-mysql / clsql_mysql.c
index 2d3b1282cbd5d65b2255e92dadbbd31ee09d2248..ebbb8e1e48e99f2b9ce6e2d9085c908637add086 100644 (file)
@@ -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
@@ -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