@@ -1915,6 +1915,15 @@ printResults(int ttype, int normal_xacts, int nclients,
1915
1915
int
1916
1916
main (int argc ,char * * argv )
1917
1917
{
1918
+ static struct option long_options []= {
1919
+ {"foreign-keys" ,no_argument ,& foreign_keys ,1 },
1920
+ {"index-tablespace" ,required_argument ,NULL ,3 },
1921
+ {"tablespace" ,required_argument ,NULL ,2 },
1922
+ {"unlogged-tables" ,no_argument ,& unlogged_tables ,1 },
1923
+ {"sampling-rate" ,required_argument ,NULL ,4 },
1924
+ {NULL ,0 ,NULL ,0 }
1925
+ };
1926
+
1918
1927
int c ;
1919
1928
int nclients = 1 ;/* default number of simulated clients */
1920
1929
int nthreads = 1 ;/* default number of threads */
@@ -1937,15 +1946,6 @@ main(int argc, char **argv)
1937
1946
1938
1947
int i ;
1939
1948
1940
- static struct option long_options []= {
1941
- {"foreign-keys" ,no_argument ,& foreign_keys ,1 },
1942
- {"index-tablespace" ,required_argument ,NULL ,3 },
1943
- {"tablespace" ,required_argument ,NULL ,2 },
1944
- {"unlogged-tables" ,no_argument ,& unlogged_tables ,1 },
1945
- {"sampling-rate" ,required_argument ,NULL ,4 },
1946
- {NULL ,0 ,NULL ,0 }
1947
- };
1948
-
1949
1949
#ifdef HAVE_GETRLIMIT
1950
1950
struct rlimit rlim ;
1951
1951
#endif