System QA took the approach of using Random Query Generator (RQG) to generate different SQL’s for multitude of data types available and supported in MySQL.
This approach would help in easily testing the validity of
currently supported data types and changes (if any) to the
same.
Following steps explain What and How this was accomplished
-
Generate the table structure and generate insert queries for
different data types through RQG and redirect to a
file.
Use gendata.pl which is part of RQG to create Table structure ( for this instance we have used DATE related data type )
$ perl gendata.pl --dsn=dbi:mysql:host=127.0.0.1:port=3306:user=root:database=rqg --spec=ex_dt.zz
-
Generate SQL queries using gensql and redirect the output to
a file
For the …