summaryrefslogtreecommitdiff
path: root/packages/mysql/tests/mysqls.c
blob: 08e0359bd705ec5b7f3d5e183e6051f2d0d14bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <mysql/mysql.h>

main () {
  printf("C\n");
  printf("MYSQL : %d  options : %d\n",sizeof(MYSQL),sizeof(struct st_mysql_options));
  printf("MYSQL_DATA : %d\n" ,sizeof(MYSQL_DATA));
  printf("MYSQL_ROWS : %d\n",sizeof(MYSQL_ROWS));
  printf("MYSQL_ROW : %d\n",sizeof(MYSQL_ROW));
  printf("MYSQL_FIELD : %d\n",sizeof(MYSQL_FIELD));
  printf("MYSQL_RES : %d \n",sizeof(MYSQL_RES));
  printf("MEM_ROOT : %d \n",sizeof(MEM_ROOT));
  printf("my_bool : %d \n",sizeof(my_bool));
/*  printf("TNET : %d TNET.nettype : %d \n",sizeof(NET),sizeof(net_type)); */
  printf("USED_MEM : %d \n",sizeof(USED_MEM));
}