r9557: add new structures
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 6 Jun 2004 04:55:35 +0000 (04:55 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 6 Jun 2004 04:55:35 +0000 (04:55 +0000)
db-mysql/testing/mysql-struct-size.cc

index cd0c267..464ef46 100644 (file)
@@ -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));
 }