X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-mysql%2Ftesting%2Fmysql-struct-size.cc;fp=db-mysql%2Ftesting%2Fmysql-struct-size.cc;h=cd0c267d239c1951f83ff5f4e37a13130eab182e;hb=7b296f477e74a6db6e319e6cb6dff16be44e6a60;hp=0000000000000000000000000000000000000000;hpb=b0770ce015dd263398ea13f1df810173574a6752;p=clsql.git diff --git a/db-mysql/testing/mysql-struct-size.cc b/db-mysql/testing/mysql-struct-size.cc new file mode 100644 index 0000000..cd0c267 --- /dev/null +++ b/db-mysql/testing/mysql-struct-size.cc @@ -0,0 +1,7 @@ +#include +#include "/opt/mysql/include/mysql/mysql.h" + +int main (int argc, char** argv) +{ + printf ("Size of MYSQL struct: %ld\n", sizeof (MYSQL)); +}