[libgda/LIBGDA_4.0] Documentation corrections



commit 4a9362743abb7430eedd6d0b23d1462cacdcf410
Author: Vivien Malerba <malerba gnome-db org>
Date:   Fri Jul 24 21:04:58 2009 +0200

    Documentation corrections

 doc/C/tmpl/gda-meta-store.sgml |    2 +-
 libgda/gda-connection.c        |    5 +++--
 libgda/gda-meta-store.c        |    2 +-
 libgda/gda-meta-store.h        |    2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/doc/C/tmpl/gda-meta-store.sgml b/doc/C/tmpl/gda-meta-store.sgml
index ec4ab6e..3a08b8f 100644
--- a/doc/C/tmpl/gda-meta-store.sgml
+++ b/doc/C/tmpl/gda-meta-store.sgml
@@ -157,7 +157,7 @@ Dictionary object
 
 </para>
 
- Param1: 
+ id: 
 @cnc: 
 @Returns: 
 
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index 60acb32..28108d5 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -3072,7 +3072,7 @@ suggest_update_cb_downstream (GdaMetaStore *store, GdaMetaContext *suggest, Down
  *
  * When @context is not %NULL, and contains specified SQL identifiers (for example the "table_name" of the "_tables"
  * table), then each SQL identifier has to match the convention the #GdaMetaStore has adopted regarding
- * case sensitivity, using gda_meta_store_sql_identifier_quote().
+ * case sensitivity, using gda_connection_quote_sql_identifier() or gda_meta_store_sql_identifier_quote().
  *
  * see the <link linkend="information_schema:sql_identifiers">
  * meta data section about SQL identifiers</link> for more information, and the documentation about the
@@ -3459,7 +3459,8 @@ prepare_meta_statements_hash (void)
  * see <link linkend="GdaConnectionMetaTypeHead">this description</link>.
  *
  * Also, when using filters involving data which are SQL identifiers, make sure each SQL identifier
- * is represented using the #GdaMetaStore convention, using gda_meta_store_sql_identifier_quote().
+ * is represented using the #GdaMetaStore convention, using gda_meta_store_sql_identifier_quote() or
+ * gda_meta_store_sql_identifier_quote().
  *
  * See the <link linkend="information_schema:sql_identifiers">
  * meta data section about SQL identifiers</link> for more information, and the documentation about the
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index bb79dc4..ccf142e 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -2051,7 +2051,7 @@ gda_meta_store_get_internal_connection (GdaMetaStore *store) {
  * Since: 4.0.3
  */
 gchar *
-gda_meta_store_sql_identifier_quote (const char *id, GdaConnection *cnc)
+gda_meta_store_sql_identifier_quote (const gchar *id, GdaConnection *cnc)
 {
 	GdaConnectionOptions cncoptions;
 	g_return_val_if_fail (!cnc || GDA_IS_CONNECTION (cnc), NULL);
diff --git a/libgda/gda-meta-store.h b/libgda/gda-meta-store.h
index 57317dc..e0bb30e 100644
--- a/libgda/gda-meta-store.h
+++ b/libgda/gda-meta-store.h
@@ -108,7 +108,7 @@ GdaMetaStore     *gda_meta_store_new                      (const gchar *cnc_stri
 gint              gda_meta_store_get_version              (GdaMetaStore *store);
 
 GdaConnection    *gda_meta_store_get_internal_connection  (GdaMetaStore *store);
-gchar            *gda_meta_store_sql_identifier_quote     (const char*, GdaConnection *cnc);
+gchar            *gda_meta_store_sql_identifier_quote     (const gchar *id, GdaConnection *cnc);
 GdaDataModel     *gda_meta_store_extract                  (GdaMetaStore *store, const gchar *select_sql, GError **error, ...);
 gboolean          gda_meta_store_modify                   (GdaMetaStore *store, const gchar *table_name, 
 							   GdaDataModel *new_data, const gchar *condition, GError **error, ...);



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