r2753: move files
[clsql.git] / db-mysql / testing / mysql-struct-size.cc
diff --git a/db-mysql/testing/mysql-struct-size.cc b/db-mysql/testing/mysql-struct-size.cc
new file mode 100644 (file)
index 0000000..cd0c267
--- /dev/null
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include "/opt/mysql/include/mysql/mysql.h"
+
+int main (int argc, char** argv)
+{
+  printf ("Size of MYSQL struct: %ld\n", sizeof (MYSQL));
+}