@@ -1915,6 +1915,15 @@ printResults(int ttype, int normal_xacts, int nclients,
19151915int
19161916main (int argc ,char * * argv )
19171917{
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+
19181927int c ;
19191928int nclients = 1 ;/* default number of simulated clients */
19201929int nthreads = 1 ;/* default number of threads */
@@ -1937,15 +1946,6 @@ main(int argc, char **argv)
19371946
19381947int i ;
19391948
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-
19491949#ifdef HAVE_GETRLIMIT
19501950struct rlimit rlim ;
19511951#endif