projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
db-mysql/testing/mysql-struct-size.cc
@@ -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));
+}