MonetDBSolutions / monetdbe-examples

A small collection of C programs to illustrate MonetDBe
9 stars 4 forks source link

Initialize query buffer #18

Closed hunhoffe closed 1 year ago

hunhoffe commented 1 year ago

I was attempting to run the tpch sf1 program, but I kept getting a segfault. I believe it's because the query buffer is never initialized before it is written to by sprintf.

After making this change, I appear to be able to run the program successfully.

njnes commented 1 year ago

Thanks for pointing out this issue.