MYDDAS: Myddas Top Level for MySQL and Datalog

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1537 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
tiagosoares
2006-02-08 17:29:55 +00:00
parent 7b527b676e
commit fbcfdb49a9
9 changed files with 271 additions and 41 deletions

View File

@@ -257,6 +257,12 @@ myddas_util_table_write(MYSQL_RES *res_set){
MYSQL_FIELD *fields;
int i,f;
if (mysql_num_rows(res_set) == 0)
{
printf ("Empty Set\n");
return;
}
f = mysql_num_fields(res_set);
fields = mysql_fetch_field(res_set);