[libgda/wip/implicit_enums] libgda: Fixing implicit enum conversion
- From: Pavlo Solntsev <psolntsev src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/wip/implicit_enums] libgda: Fixing implicit enum conversion
- Date: Sun, 9 Aug 2020 03:29:31 +0000 (UTC)
commit 0e7ad2d6de6dfd88a59dd3042d56bf2483674bcc
Author: Pavlo Solntsev <p sun fun gmail com>
Date: Mon Jul 27 08:35:17 2020 -0500
libgda: Fixing implicit enum conversion
libgda/gda-data-meta-wrapper.c | 2 +-
tests/raw-ddl-creator.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-data-meta-wrapper.c b/libgda/gda-data-meta-wrapper.c
index 1994f3abe..74cd2c468 100644
--- a/libgda/gda-data-meta-wrapper.c
+++ b/libgda/gda-data-meta-wrapper.c
@@ -168,7 +168,7 @@ gda_data_meta_wrapper_init (GdaDataMetaWrapper *model)
priv->model = NULL;
priv->cols_to_wrap = NULL;
priv->cols_to_wrap_size = 0;
- priv->mode = GDA_DATA_META_WRAPPER_MODE_LC;
+ priv->mode = GDA_SQL_IDENTIFIERS_LOWER_CASE;
priv->reserved_keyword_func = NULL;
priv->computed_rows = NULL;
priv->buffer = NULL;
diff --git a/tests/raw-ddl-creator.c b/tests/raw-ddl-creator.c
index b34eea9a1..17c6c17b0 100644
--- a/tests/raw-ddl-creator.c
+++ b/tests/raw-ddl-creator.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <glib/gi18n-lib.h>
+#include "gda-server-operation.h"
#include "raw-ddl-creator.h"
#include <libgda/gda-connection.h>
#include <libgda/gda-server-provider.h>
@@ -586,7 +587,7 @@ create_server_operation_for_view (G_GNUC_UNUSED RawDDLCreator *ddlc, GdaServerPr
{
GdaServerOperation *op;
- op = gda_server_provider_create_operation (prov, cnc, dbobj->obj_type, NULL, error);
+ op = gda_server_provider_create_operation (prov, cnc, GDA_SERVER_OPERATION_CREATE_VIEW, NULL, error);
if (!op)
return NULL;
if (! gda_server_operation_set_value_at (op, dbobj->obj_name, error, "/VIEW_DEF_P/VIEW_NAME"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]