 c447e5cf15
			
		
	
	c447e5cf15
	
	
	
		
			
			See script directory for method. The script to run in the top level MaxScale directory is called maxscale-uncrustify.sh, which uses another script, list-src, from the same directory (so you need to set your PATH). The uncrustify version was 0.66.
		
			
				
	
	
		
			29 lines
		
	
	
		
			432 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			432 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <iostream>
 | |
| #include "testconnections.h"
 | |
| #include "sql_t1.h"
 | |
| 
 | |
| using namespace std;
 | |
| 
 | |
| 
 | |
| int main(int argc, char* argv[])
 | |
| {
 | |
|     char sql[1000000];
 | |
|     create_insert_string(sql, 16, 0);
 | |
| 
 | |
|     printf("%s\n", sql);
 | |
| 
 | |
|     create_insert_string(sql, 256, 1);
 | |
| 
 | |
|     printf("%s\n", sql);
 | |
| 
 | |
|     create_insert_string(sql, 4096, 2);
 | |
| 
 | |
|     printf("%s\n", sql);
 | |
| 
 | |
|     create_insert_string(sql, 65536, 3);
 | |
| 
 | |
|     printf("%s\n", sql);
 | |
| 
 | |
|     exit(0);
 | |
| }
 |