projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add *test-report-width* variable. Word-wrap skipped tests reason field.
[clsql.git]
/
db-mysql
/
clsql_mysql.c
diff --git
a/db-mysql/clsql_mysql.c
b/db-mysql/clsql_mysql.c
index 2d3b1282cbd5d65b2255e92dadbbd31ee09d2248..372ee0ab72aec5a16be807f86614498d073e8239 100644
(file)
--- a/
db-mysql/clsql_mysql.c
+++ b/
db-mysql/clsql_mysql.c
@@
-87,7
+87,15
@@
clsql_mysql_insert_id (MYSQL* mysql, unsigned int* pHigh32)
/* Accessor functions to hide the differences across MySQL versions */
DLLEXPORT
/* 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;
clsql_mysql_field_type (MYSQL_FIELD* field)
{
return field->type;
@@
-138,7
+146,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)
DLLEXPORT
unsigned int
clsql_mysql_stmt_affected_rows (MYSQL_STMT* stmt, unsigned int* pHigh32)
@@
-148,6
+155,5
@@
clsql_mysql_stmt_affected_rows (MYSQL_STMT* stmt, unsigned int* pHigh32)
return lower_32bits(nAffected);
}
return lower_32bits(nAffected);
}
-
#endif
#endif