[libgda: 4/15] Web: Misused method fix



commit ef794feba1dc289852026ebd5fc6ec3210cfc26c
Author: Pavlo Solntsev <p sun fun gmail com>
Date:   Wed Jan 2 22:08:29 2019 -0600

    Web: Misused method fix
    
    Fixes parameters of used methods. Right now, usage doesn't correspond to
    function signature.

 providers/web/gda-web-ddl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/providers/web/gda-web-ddl.c b/providers/web/gda-web-ddl.c
index 6d8cdfe95..1c2a4258f 100644
--- a/providers/web/gda-web-ddl.c
+++ b/providers/web/gda-web-ddl.c
@@ -40,7 +40,7 @@ gda_web_render_CREATE_TABLE (GdaServerProvider *provider, GdaConnection *cnc,
        /* CREATE TABLE */
        string = g_string_new ("CREATE TABLE ");
 
-       tmp = gda_server_operation_get_sql_identifier_at (op, cnc, provider, "/TABLE_DEF_P/TABLE_NAME", 
error);
+       tmp = gda_server_operation_get_sql_identifier_at (op, "/TABLE_DEF_P/TABLE_NAME", error);
        if (!tmp) {
                g_string_free (string, TRUE);
                return NULL;
@@ -62,7 +62,7 @@ gda_web_render_CREATE_TABLE (GdaServerProvider *provider, GdaConnection *cnc,
                for (i = 0; i < nrows; i++) {
                        value = gda_server_operation_get_value_at (op, "/FIELDS_A/@COLUMN_PKEY/%d", i);
                        if (value && G_VALUE_HOLDS (value, G_TYPE_BOOLEAN) && g_value_get_boolean (value)) {
-                               tmp = gda_server_operation_get_sql_identifier_at (op, cnc, provider,
+                               tmp = gda_server_operation_get_sql_identifier_at (op,
                                                                                  "/FIELDS_A/@COLUMN_NAME/%d",
                                                                                  error, i);
                                if (!tmp) {
@@ -84,7 +84,7 @@ gda_web_render_CREATE_TABLE (GdaServerProvider *provider, GdaConnection *cnc,
                        else
                                g_string_append (string, ", ");
                                
-                       tmp = gda_server_operation_get_sql_identifier_at (op, cnc, provider,
+                       tmp = gda_server_operation_get_sql_identifier_at (op,
                                                                          "/FIELDS_A/@COLUMN_NAME/%d", error, 
i);
                        if (!tmp) {
                                g_string_free (string, TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]