add tests
This commit is contained in:
committed by
Markus Mäkelä
parent
dbfd631fed
commit
8c6ca38a8a
30
maxscale-system-test/generate_log_sql.cpp
Normal file
30
maxscale-system-test/generate_log_sql.cpp
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user