Commit 2a6145d4 authored by Daniel Espinosa Ortiz's avatar Daniel Espinosa Ortiz

information-schema: updated to version 5

Fix #164
parent 8045e5f4
Pipeline #66237 passed with stages
in 20 minutes and 53 seconds
This diff is collapsed.
......@@ -37,8 +37,9 @@
* version 2 for libgda >= 4.1.4: added the "_table_indexes" and "_index_column_usage" tables
* version 3 for libgda >= 4.2.4: added the "__declared_fk" table
* version 4 for libgda >= 5.2.0: added "schema_default" to "_schemata" table
* version 5 for libgda >= 6.0: changed columns types to use TEXT types
*/
#define CURRENT_SCHEMA_VERSION "4"
#define CURRENT_SCHEMA_VERSION "5"
#include <string.h>
#include <glib/gi18n-lib.h>
......
......@@ -125,7 +125,7 @@ main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char** argv)
g_string_append (tmp_out_types_str, "G_TYPE_BOOLEAN");
else if (type == G_TYPE_INT)
g_string_append (tmp_out_types_str, "G_TYPE_INT");
else if (type == G_TYPE_DATE_TIME) {
else if (type == G_TYPE_DATE_TIME || type == GDA_TYPE_TEXT) {
xmlChar *tname;
tname = xmlGetProp (node, BAD_CAST "name");
g_print ("Warning: ignoring table %s because the '%s' type is "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment