projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e18531
)
r9557: add new structures
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sun, 6 Jun 2004 04:55:35 +0000
(
04:55
+0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sun, 6 Jun 2004 04:55:35 +0000
(
04:55
+0000)
db-mysql/testing/mysql-struct-size.cc
patch
|
blob
|
history
diff --git
a/db-mysql/testing/mysql-struct-size.cc
b/db-mysql/testing/mysql-struct-size.cc
index cd0c267d239c1951f83ff5f4e37a13130eab182e..464ef460c0028e1313b4d2132517506345132aa1 100644
(file)
--- a/
db-mysql/testing/mysql-struct-size.cc
+++ b/
db-mysql/testing/mysql-struct-size.cc
@@
-1,7
+1,10
@@
#include <stdio.h>
-#include "/
opt/mysql
/include/mysql/mysql.h"
+#include "/
usr
/include/mysql/mysql.h"
int main (int argc, char** argv)
{
printf ("Size of MYSQL struct: %ld\n", sizeof (MYSQL));
+ printf("Sizeof MYSQL_BIND: %d\n", sizeof(MYSQL_BIND));
+ printf("Sizeof MYSQL_FIELD: %d\n", sizeof(MYSQL_FIELD));
+ printf("Sizeof MYSQL_TIME: %d\n", sizeof(MYSQL_TIME));
}