MonetDBSolutions / monetdbe-examples

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

Example typos #1

Closed PedroTadim closed 3 years ago

PedroTadim commented 4 years ago

At cache.c example:

monetdbe_query(remote, "call sys.describe(\"sys\",\"lineitem\"", &schema);

There's a closing parenthesis missing,

PedroTadim commented 4 years ago

On the same example.

if( remote->error || schema->error || data->error) error("Could not access the remote database");

The error message is only valid for the remote->error case

PedroTadim commented 4 years ago

Also the database is not being closed at the end.

njnes commented 4 years ago

This example is indeed far from ready. Most important requirement is to add the implementation of 'remote'. ie same interface as monetdbe, but use remote calls. Next to that the results needs to be obtained and used correctly.

PedroTadim commented 4 years ago

Sure, we eventually will get it done.

njnes commented 3 years ago

bogus example is removed.