*/
-/** Class for handling operations on MySQL database tables. Upon construction, the class
- * probes the table to read its structure.
+/** Class for handling operations on MySQL database tables. Upon construction,
+ * the class probes the table to read its structure.
*
* @see DiogenesDatabase, DiogenesTableEditor
*/
break;
case "timestamp":
case "datetime":
- $type = "timestamp";
- break;
+ $type = "timestamp";
+ break;
default:
$type="text";
}
"type" => $type, "value" => $value, "desc" => $name, "sum" => false,
"key" => $key, "extra" => $extra, "edit" => true, "show" => true);
}
+ mysql_free_result($res);
}
}