Files
MaxScale/maxscale-system-test/generate_log_sql.cpp
Niclas Antti c447e5cf15 Uncrustify maxscale
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.
2018-09-09 22:26:19 +03:00

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);
}