[libgda: 1/2] Fixing correct handling of DB objects



commit 792afa19f7bb4745ea19b1b0b890fefd04391ac9
Author: Pavlo Solntsev <p sun fun gmail com>
Date:   Fri Sep 7 14:56:23 2018 -0500

    Fixing correct handling of DB objects
    
    The third parameter should be ignored since fail results just indicate
    for absence of an object in the database.

 libgda/gda-ddl-creator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/gda-ddl-creator.c b/libgda/gda-ddl-creator.c
index a3815c7e4..8bbf9c08d 100644
--- a/libgda/gda-ddl-creator.c
+++ b/libgda/gda-ddl-creator.c
@@ -731,7 +731,7 @@ gda_ddl_creator_perform_operation (GdaDdlCreator *self,
       g_value_set_string (schema ,gda_ddl_base_get_schema (it->data));
       g_value_set_string (name   ,gda_ddl_base_get_name   (it->data));
 
-      mobj = gda_meta_struct_complement (mstruct,GDA_META_DB_TABLE,catalog,schema,name,error);
+      mobj = gda_meta_struct_complement (mstruct,GDA_META_DB_TABLE,catalog,schema,name,NULL);
 
       if (mobj)
         {


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