eyalroz / tpch-dbgen

Data & query generation utilities for the TPC-H benchmark (unified repository)

Home Page:http://www.tpc.org/tpch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not use zero-length printf format strings

eyalroz opened this issue · comments

In qgen, we issue

fprintf(ofp, SET_DBASE, db_name);

even though SET_DBASE is sometimes an empty string. Let's avoid an fprintf if SET_DBASE is empty.